You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
425 B
14 lines
425 B
|
2 months ago
|
import type { NextConfigComplete } from '../server/config-shared';
|
||
|
|
export type ResolvedBaseUrl = {
|
||
|
|
baseUrl: string;
|
||
|
|
isImplicit: boolean;
|
||
|
|
} | undefined;
|
||
|
|
export type JsConfig = {
|
||
|
|
compilerOptions: Record<string, any>;
|
||
|
|
} | undefined;
|
||
|
|
export default function loadJsConfig(dir: string, config: NextConfigComplete): Promise<{
|
||
|
|
useTypeScript: boolean;
|
||
|
|
jsConfig: JsConfig;
|
||
|
|
resolvedBaseUrl: ResolvedBaseUrl;
|
||
|
|
}>;
|