-
Notifications
You must be signed in to change notification settings - Fork 764
Closed
Description
Steps to reproduce
A repro is available in https://github.com/joshcartme/tsgo-repros/tree/main/redeclare-global
Behavior with [email protected]
tsc produces no output. If you set skipLibCheck to false tsc produces the same error as tsgo below.
Behavior with tsgo
tsgo produces:
src/types.ts:4:20 - error TS2430: Interface 'Locale' incorrectly extends interface 'MLocaleExt'.
Types of property 'weekdays' are incompatible.
Type '{ (): string[]; (m: Moment, format?: string): string; }' is not assignable to type 'string[]'.
4 export interface Locale extends MLocaleExt {}
~~~~~~
Found 1 error in src/types.ts:4
Metadata
Metadata
Assignees
Labels
No labels