Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ldwonday opened this issue Nov 6, 2021 · 1 comment
Open

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

ldwonday opened this issue Nov 6, 2021 · 1 comment

Comments

@ldwonday
Copy link

ldwonday commented Nov 6, 2021

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'."

ldwonday pushed a commit to ldwonday/alias that referenced this issue Nov 8, 2021
@ldwonday ldwonday mentioned this issue Nov 8, 2021
@ldwonday
Copy link
Author

ldwonday commented Nov 8, 2021

Please merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant