TypeScript

Source file extensions: .ts|.tsx

Import modules

from npm

Bare imports (not starting with ./, ../, http:.// or https://) are sourced automaticaly from npm. No npm install required.

import { render } from 'lit-element';

Latest version of the dependency is used unless you define dependencies in

from URL

import { render } from 'https://unpkg.com/lit-element';

Import CSS

References

Quick example

index.ts