Skip to content

Commit

Permalink
Rename Closure V1 compatibility PolymerDomApi types for TypeScript ty…
Browse files Browse the repository at this point in the history
…pes.

These interface types only exist for Closure compilation compatibility
between V1 and V2/3, but there's no reason to have them in our
TypeScript types.

- PolymerDomApi -> DomApi
- PolymerDomApi.ObserveHandle -> FlattenedNodesObserver
  • Loading branch information
aomarks committed Oct 31, 2018
1 parent b8e3002 commit b34b6fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gen-tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"../shadycss/custom-style-interface.d.ts"
],
"renameTypes": {
"Polymer_PropertyEffects": "PropertyEffects"
"Polymer_PropertyEffects": "PropertyEffects",
"PolymerDomApi": "DomApi",
"PolymerDomApi.ObserveHandle": "FlattenedNodesObserver"
},
"autoImport": {
"./interfaces": [
Expand Down

0 comments on commit b34b6fc

Please sign in to comment.