Closed gyz0072004 closed 2 years ago
convertCompilerOptionsFromJson function will always produce the options field, so use ?? is not enough.
export function convertCompilerOptionsFromJson(jsonOptions: any, basePath: string, configFileName?: string): { options: CompilerOptions; errors: Diagnostic[]; }; export function convertTypeAcquisitionFromJson(jsonOptions: any, basePath: string, configFileName?: string): { options: TypeAcquisition; errors: Diagnostic[]; };
All committers have signed the CLA.
@Brooooooklyn would you mind taking a look?
convertCompilerOptionsFromJson function will always produce the options field, so use ?? is not enough.