Improve emitted type declarations for TS 5.5+ #310
Annotations
3 errors and 1 warning
package/src/core/define-integration.ts#L72
TypeCheckError: Cannot find name 'TSetup'.
❯ src/core/define-integration.ts:72:62
|
package/src/core/with-plugins.ts#L85
TypeCheckError: Type '{ hooks { 'astroconfigsetup'? (options { config AstroConfig; command "dev" | "build" | "preview"; isRestart boolean; updateConfig (newConfig DeepPartial<AstroConfig>) => AstroConfig; ... 8 more ...; logger AstroIntegrationLogger; }) => void | Promise<...>; ... 8 more ...; 'astrobuilddone'? (options { ...' is not assignable to type 'WithPluginsReturn<Prettify<Omit<Extensions, keyof WithPluginsParams<any>>>>'.
Type '{ hooks { 'astroconfigsetup'? (options { config AstroConfig; command "dev" | "build" | "preview"; isRestart boolean; updateConfig (newConfig DeepPartial<AstroConfig>) => AstroConfig; ... 8 more ...; logger AstroIntegrationLogger; }) => void | Promise<...>; ... 8 more ...; 'astrobuilddone'? (options { ...' is not assignable to type 'Prettify<Omit<Extensions, keyof WithPluginsParams<any>>>'.
❯ src/core/with-plugins.ts:85:2
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The logs for this run have expired and are no longer available.
Loading