ci: move public-api goldens to goldens directory (#35768)
Moves the public api .d.ts files from tools/public_api_guard to goldens/public-api. Additionally, provides a README in the goldens directory and a script assist in testing the current state of the repo against the goldens as well as a command for accepting all changes to the goldens in a single command. PR Close #35768
This commit is contained in:

committed by
Matias Niemelä

parent
19cfaf7f4c
commit
15f8afa4bf
11
goldens/public-api/animations/browser/browser.d.ts
vendored
Normal file
11
goldens/public-api/animations/browser/browser.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
export declare abstract class AnimationDriver {
|
||||
abstract animate(element: any, keyframes: {
|
||||
[key: string]: string | number;
|
||||
}[], duration: number, delay: number, easing?: string | null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any;
|
||||
abstract computeStyle(element: any, prop: string, defaultValue?: string): string;
|
||||
abstract containsElement(elm1: any, elm2: any): boolean;
|
||||
abstract matchesElement(element: any, selector: string): boolean;
|
||||
abstract query(element: any, selector: string, multi: boolean): any[];
|
||||
abstract validateStyleProperty(prop: string): boolean;
|
||||
static NOOP: AnimationDriver;
|
||||
}
|
Reference in New Issue
Block a user