Created
July 24, 2018 15:50
-
-
Save andrerpena/3affcd4dda920d708eb62ee68ebac570 to your computer and use it in GitHub Desktop.
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
// exporting * | |
declare module "a" { | |
const a: number | |
export = a | |
} | |
// exporting default | |
declare module "b" { | |
const a: number | |
export default a | |
// export { a as default } | |
} | |
// exporting multiple | |
declare module "c" { | |
const a: number | |
export { a } | |
export const b:number | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment