Skip to content

Instantly share code, notes, and snippets.

@edwardyunghk01
Created February 3, 2021 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwardyunghk01/ab533f0121d4f1abdb2ba51bc9a4e439 to your computer and use it in GitHub Desktop.
Save edwardyunghk01/ab533f0121d4f1abdb2ba51bc9a4e439 to your computer and use it in GitHub Desktop.
namespacing in ts (use in nestjs)
import { A } from './someModule'
const o = new A.B()
console.log(o);
export namespace A {
export class B {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment