Created
January 14, 2020 11:18
-
-
Save domenu/af29bd2e39de8de0085392e5cde94574 to your computer and use it in GitHub Desktop.
Add a prop to an existing type, located in a Typescript module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'path/to/the/module/file.ts' { | |
interface ClassNameInModule { | |
id: number; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment