UNPKG

444 BTypeScriptView Raw
1/**
2 * Reduce template to a normal form where asset references have been normalized
3 *
4 * This makes it possible to compare templates if all that's different between
5 * them is the hashes of the asset values.
6 *
7 * Currently only handles parameterized assets, but can (and should)
8 * be adapted to handle convention-mode assets as well when we start using
9 * more of those.
10 */
11export declare function canonicalizeTemplate(template: any): any;