@lwc/types v8.6.0
@lwc/types
This package provides type definitions for LWC projects written in TypeScript.
Usage
!IMPORTANT If you use the
lwc
package in your project, then HTML and CSS imports will work without any configuration required.
To enable importing templates or stylesheets, simply import this package once, from anywhere in your project.
// ./types/global.d.ts
import '@lwc/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 LWC component script files.
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago