@c8y/options
Version:
Cumulocity application options
15 lines (14 loc) • 500 B
TypeScript
/**
* Type declaration for `c8y-schema-loader` webpack loader. This feature is used to generate JSON schema from TypeScript interfaces.
* Example usage:
* ```ts
* // const { schema } = await import('c8y-schema-loader?interfaceName=KpiWidgetConfig!@c8y/ngx-components/widgets/implementations/kpi')
* ```
*/
declare module 'c8y-schema-loader?interfaceName=*' {
import type { JSONSchema7 } from 'json-schema';
declare namespace schema {
const schema: JSONSchema7;
}
export = schema;
}