-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathtypes.d.ts
More file actions
27 lines (24 loc) · 987 Bytes
/
Copy pathtypes.d.ts
File metadata and controls
27 lines (24 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This TypeScript modules definition file is generated by vaadin-maven-plugin.
// You can not directly import your different static files into TypeScript,
// This is needed for TypeScript compiler to declare and export as a TypeScript module.
// It is recommended to commit this file to the VCS.
// You might want to change the configurations to fit your preferences
declare module '*.css?inline' {
import type { CSSResultGroup } from 'lit';
const content: CSSResultGroup;
export default content;
}
declare module '*.css';
// Merges into the shared window.Vaadin.Flow interface declared by the Flow
// connectors in jar-resources. loadOnDemand is normally defined by
// generated-flow-imports.js, which the examples do not load, so
// init-flow-namespace.ts provides a stand-in.
interface VaadinFlow {
loadOnDemand?(id: string): Promise<unknown>;
}
// Allow any CSS Custom Properties
declare module 'csstype' {
interface Properties {
[index: `--${string}`]: any;
}
}