mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Fixed Autodesk.Viewing.Load optional arguments
This commit is contained in:
Vendored
+2
-2
@@ -353,7 +353,7 @@ declare namespace Autodesk {
|
||||
class Document {
|
||||
constructor(dataJSON: object, path: string, acmsession: string);
|
||||
static load(documentId: string, successCallback: (doc: Document) => void,
|
||||
errorCallback: (errorCode: ErrorCodes, errorMsg: string, messages: any[]) => void, accessControlProperties: any): void;
|
||||
errorCallback: (errorCode: ErrorCodes, errorMsg: string, messages: any[]) => void, accessControlProperties?: any): void;
|
||||
static getSubItemsWithProperties(item: object, properties: Properties, recursive: boolean): object[];
|
||||
|
||||
acmSessionId: string;
|
||||
@@ -373,7 +373,7 @@ declare namespace Autodesk {
|
||||
getViewableItems(document: Document): void;
|
||||
getViewablePath(item: object, outLoadOptions: object): string;
|
||||
getViewGeometry(item: object): object;
|
||||
load(documentId: string, onSuccessCallback: () => void, onErrorCallback: () => void, accessControlProperties: object): void;
|
||||
load(documentId: string, onSuccessCallback: () => void, onErrorCallback: () => void, accessControlProperties?: object): void;
|
||||
requestThumbnailWithSecurity(data: string, onComplete: (err: Error, response: any) => void): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user