GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Cannot write file '/browser-fs-access/index.d.ts' because it would overwrite input file. #98

Closed tomayac closed 2 years ago

tomayac commented 2 years ago

@developit: There is a follow-up issue to #97 with microbundle that I'm not entirely sure how to resolve. It seems I can't really tell microbundle where the types are located without causing it to try to do stuff with them:

rpt2: options error TS5055: Cannot write file '/Users/tsteiner/Documents/javascript/browser-fs-access/index.d.ts' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
rpt2: options error TS5055: Cannot write file '/Users/tsteiner/Documents/javascript/browser-fs-access/index.d.ts' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.