(func: (info: IPublicTypePropChangeOptions) => void)
| 1361 | } |
| 1362 | |
| 1363 | onPropChange(func: (info: IPublicTypePropChangeOptions) => void): IPublicTypeDisposable { |
| 1364 | const wrappedFunc = wrapWithEventSwitch(func); |
| 1365 | this.emitter.on('propChange', wrappedFunc); |
| 1366 | return () => { |
| 1367 | this.emitter.removeListener('propChange', wrappedFunc); |
| 1368 | }; |
| 1369 | } |
| 1370 | } |
| 1371 | |
| 1372 | function ensureNode(node: any, document: IDocumentModel): INode { |
nothing calls this directly
no test coverage detected