Skip to content

Instantly share code, notes, and snippets.

@drguildo
Last active October 2, 2017 11:56
Show Gist options
  • Save drguildo/405782aa3902e8783317e577f5e9d9d5 to your computer and use it in GitHub Desktop.
Save drguildo/405782aa3902e8783317e577f5e9d9d5 to your computer and use it in GitHub Desktop.
class Foo {
public foo: {
name: string,
age: number
};
constructor() {
this.foo["age"] = 123
}
}
console.log(new Foo());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment