mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[cesium] add constructor and removeProperty to PropertyBag (#42803)
* [cesium] add constructor definition for PropertyBag * Cesium - add removeProperty to PropertyBag * Add return type to removeProperty * Make constructor value optional * Don't make parameters on callback optional
This commit is contained in:
Vendored
+5
-2
@@ -121,11 +121,14 @@ declare namespace Cesium {
|
||||
readonly isConstant: boolean;
|
||||
propertyNames: string[];
|
||||
|
||||
addProperty(propertyName: string, value?: any, createPropertyCallback?: (value?: any) => void): void;
|
||||
constructor(value?: object, createPropertyCallback?: (value?: any) => void);
|
||||
|
||||
addProperty(propertyName: string, value?: any, createPropertyCallback?: (value: any) => void): void;
|
||||
equals(other?: Property): boolean;
|
||||
getValue(time: JulianDate, result?: object): object;
|
||||
hasProperty(propertyName: string): boolean;
|
||||
merge(source: object, createPropertyCallback?: (value?: any) => void): void;
|
||||
merge(source: object, createPropertyCallback?: (value: any) => void): void;
|
||||
removeProperty(propertyName: string): void;
|
||||
}
|
||||
|
||||
class ArcGisImageServerTerrainProvider extends TerrainProvider {
|
||||
|
||||
Reference in New Issue
Block a user