UNPKG

jsii

Version:

[![Join the chat at https://cdk.Dev](https://img.shields.io/static/v1?label=Slack&message=cdk.dev&color=brightgreen&logo=slack)](https://cdk.dev) [![All Contributors](https://img.shields.io/github/all-contributors/aws/jsii/main?label=%E2%9C%A8%20All%20Con

15 lines 701 B
import * as spec from '@jsii/spec'; import * as ts from 'typescript'; import { Emitter } from './emitter'; import { JsiiDiagnostic } from './jsii-diagnostic'; import { ProjectInfo } from './project-info'; export declare class Validator implements Emitter { readonly projectInfo: ProjectInfo; readonly assembly: spec.Assembly; static VALIDATIONS: ValidationFunction[]; constructor(projectInfo: ProjectInfo, assembly: spec.Assembly); emit(): ts.EmitResult; } export type DiagnosticEmitter = (diag: JsiiDiagnostic) => void; export type ValidationFunction = (validator: Validator, assembly: spec.Assembly, diagnostic: DiagnosticEmitter) => void; //# sourceMappingURL=validator.d.ts.map