Skip to content

Instantly share code, notes, and snippets.

@vladima
Created August 19, 2015 18:19
Show Gist options
  • Save vladima/49e0b6e92e58d6e382e4 to your computer and use it in GitHub Desktop.
Save vladima/49e0b6e92e58d6e382e4 to your computer and use it in GitHub Desktop.
declare namespace q.SomeEnum {
export type SomeEnum = number ;
export var SomeEnum : {
A : SomeEnum ,
B : SomeEnum ,
};
}
declare module 'goog:SomeEnum' {
import alias = q.SomeEnum
export = alias;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment