To do TS in node natively (no compiling needed) there are a few considerations:
- tsconfig.json
- package.json
- import statements
- node version
Instantly share code, notes, and snippets.
none (default)layout, paint, style - the easy ones.
content === these threecontain: layout -- any pos:fixed children will be relative to it.size - harder. the element must define its own size, can't rely on laying out its children.
strict === content + sizeinline-size - dunno? size but for display:inline-ish things?