This is required.
This is required.
[Constructor] interface Foo { attribute Bar bar; void doTheFoo(); };
The Foo interface is nice. Lets you do stuff.
The bar attribute, returns 🍺.
The doTheFoo() method, returns nothing.
const foo = new Foo(); if (foo.bar === "my bar") { foo.doTheBar(); }