feat: new create pages to use new defineRouter #5127
Annotations
18 errors and 2 warnings
build
Type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<FunctionComponent<any> | FunctionComponent<{ children: ReactNode; }> | (({ children }: { children: ReactNode; }) => DetailedReactHTMLElement<HTMLAttributes<HTMLElement>, HTMLElement>) | ((props: Record<string, unknown>) => FunctionComponentElement<any>) | null>' is not assignable to type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<Record<string, ReactNode> | null>'.
|
build
'path' is declared but its value is never read.
|
build
Cannot find name 'id'.
|
build
Cannot find name 'id'.
|
build
Cannot find name 'id'.
|
build
Cannot find name 'id'.
|
build
Cannot find name 'id'.
|
build
Cannot find name 'id'.
|
build
Process completed with exit code 2.
|
test:
packages/waku/src/router/create-pages.ts#L674
Type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<FunctionComponent<any> | FunctionComponent<{ children: ReactNode; }> | (({ children }: { children: ReactNode; }) => DetailedReactHTMLElement<HTMLAttributes<HTMLElement>, HTMLElement>) | ((props: Record<string, unknown>) => FunctionComponentElement<any>) | null>' is not assignable to type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<Record<string, ReactNode> | null>'.
|
test:
packages/waku/src/router/create-pages.ts#L674
'path' is declared but its value is never read.
|
test:
packages/waku/src/router/create-pages.ts#L698
Cannot find name 'id'.
|
test:
packages/waku/src/router/create-pages.ts#L704
Cannot find name 'id'.
|
test:
packages/waku/src/router/create-pages.ts#L705
Cannot find name 'id'.
|
test:
packages/waku/src/router/create-pages.ts#L711
Cannot find name 'id'.
|
test:
packages/waku/src/router/create-pages.ts#L727
Cannot find name 'id'.
|
test:
packages/waku/src/router/create-pages.ts#L739
Cannot find name 'id'.
|
test
Process completed with exit code 2.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|