(definitionsPath, source)
| 1141 | } |
| 1142 | |
| 1143 | function processEngineSource(definitionsPath, source) { |
| 1144 | let newSource = processTypescriptSource(definitionsPath, source); |
| 1145 | // Manually add a type definition from Viewer to avoid circular dependency |
| 1146 | // with the widgets package. This will no longer be needed past Cesium 1.100. |
| 1147 | newSource += ` |
| 1148 | /** |
| 1149 | * @property scene - The scene in the widget. |
| 1150 | */ |
| 1151 | export type Viewer = { |
| 1152 | scene: Scene; |
| 1153 | }; |
| 1154 | `; |
| 1155 | |
| 1156 | return newSource; |
| 1157 | } |
| 1158 | |
| 1159 | function createTypeScriptDefinitions() { |
| 1160 | // Run jsdoc with tsd-jsdoc to generate an initial Cesium.d.ts file. |
nothing calls this directly
no test coverage detected
searching dependent graphs…