@kdcloudjs/kwc-types
v1.0.0
Published
This package provides type definitions for KWC projects written in TypeScript.
Downloads
19
Readme
@kdcloudjs/kwc-types
This package provides type definitions for KWC projects written in TypeScript.
Usage
[!IMPORTANT] If you use the
kwcpackage in your project, then HTML and CSS imports will work without any configuration required.
// ./types/global.d.ts
import '@kdcloudjs/kwc-types';
// my-component.ts
import stylesheet from './my-component.css';
import template from './my-component.html';Module Definitions
This package provides module definitions for HTML and CSS files, so that they can be imported in KWC component script files.
