typescript-go
typescript-go copied to clipboard
Missing error when reference directive file path doesn't exist
Steps to reproduce
/// <reference path="notfound.d.ts" />
Behavior with [email protected]
error:
D:\Throwaway\corsarepro>tsc
a.ts:1:22 - error TS6053: File 'D:/Throwaway/corsarepro/notfound.d.ts' not found.
1 /// <reference path="notfound.d.ts" />
~~~~~~~~~~~~~
Found 1 error in a.ts:1
Behavior with tsgo
No error issued
Is it considered as the new TS design or a bug? I would like to fix this.
Bug, there should be an error; some code is just not ported.