Skip to content

error TS5023: Unknown compiler option 'cwd'. #406

@ldwonday

Description

@ldwonday
function resolveImports(
  file: ReadonlyArray<string>,
  imports: FileData[],
  options: ts.CompilerOptions
): string[] {
  const { baseUrl, paths, cwd } = options
...
}

cwd is not in type 'ts.CompilerOptions',it cause "error TS5023: Unknown compiler option 'cwd'."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions