Closed zspitz closed 7 years ago
This is a problem, because declaration merging is not supported on classes. If two declaration files have VarDate
and SafeArray
declarations, it will be a compiler error.
SafeArray<T>
is currently implemented as an interface; multiple declarations are merged.
VarDate
already exists in lib.d.ts
as an interface.
Unless https://github.com/Microsoft/TypeScript/issues/17526 is merged.