Releases: alexlafroscia/custom-elements-playground
Releases · alexlafroscia/custom-elements-playground
Release list
cem-plugin-svelte@1.2.0
Minor Changes
- 1289295: Reference types imported from other packages by the module specifier they are importable
from, including types used in unions, type aliases, and method signatures.
cem-plugin-dts@1.1.0
Minor Changes
- 1289295: Emit
import typestatements for types referenced from other packages and from local
modules. Local module paths from the manifest are used verbatim, relativized to the emitted file's
location. - bdf29f5: Export the generated
HTMLElementinterfaces from the emitted file in addition to
declaring them globally, so they can be imported explicitly withimport type.
cem-plugin-svelte@1.1.0
Minor Changes
- 2b4daa7: Honor
tsconfig.jsonwhen resolving prop types, so globally-declared types (for example,
fromtypes/typeRoots) can be resolved. A newtsconfigPathoption controls which config file
is used, falling back to<cwd>/tsconfig.json. Globally-available types are now labeled with the
manifest schema'sglobal:package convention in type references.
Patch Changes
- 65b9637: Preserve
undefinedin prop and method types. The type-resolution program now enables
strictNullChecksby default (a tsconfig that explicitly disables it still wins), so types like
HTMLElement | undefinedare no longer reported asHTMLElementin the manifest and generated
.d.tsfiles.
cem-plugin-svelte@1.0.1
cem-plugin-svelte@1.0.0
Major Changes
- 64c1ef8: Initial package release
cem-plugin-dts@1.0.0
Major Changes
- 64c1ef8: Initial package release