angular-cn/tools/ts-api-guardian/test/fixtures/verify.patch

12 lines
284 B
Diff

--- test/fixtures/verify_expected.d.ts Golden file
+++ test/fixtures/verify_expected.d.ts Generated API
@@ -1,5 +1,6 @@
export interface A {
c: number;
- a(arg: any[]): any;
- b: string;
+ a(arg: any[]): {[name: string]: number};
}
+
+export declare const b: boolean;