Stephen Li
0b1b718afc
feat(core): type addInitScript function arg (#17651)
Allows autocomplete on the arg passed to the init script
```ts
await page.addInitScript((arg) => {
window.localStorage.setItem('init_user_state', JSON.stringify(arg.initUserState)) // arg was previously 'any'
}, {
initUserState: { foo: 'bar' },
})
```
2022-10-05 09:08:30 -07:00
..
2022-09-29 20:18:26 -07:00
2022-09-12 10:45:27 -07:00
2022-09-12 10:45:27 -07:00
2022-10-05 09:08:30 -07:00
2022-09-21 21:14:20 -07:00
2022-09-21 21:16:30 -07:00
2022-09-12 21:00:41 -07:00
2022-09-21 21:14:20 -07:00
2022-09-12 21:00:09 -07:00
2022-09-12 10:45:27 -07:00
2022-10-05 08:45:10 -07:00
2022-09-12 10:45:27 -07:00
2022-09-27 13:05:06 -07:00
2022-09-20 18:41:51 -07:00
2022-09-20 18:41:51 -07:00
2022-09-26 20:57:05 +02:00
2022-08-22 09:26:51 -07:00
2022-01-12 19:52:40 -08:00