File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ const options = {
55 accessToken : "" ,
66} ;
77
8+ Autodesk . Viewing . FeatureFlags . print ( ) ;
9+ // $ExpectType boolean | undefined
10+ Autodesk . Viewing . FeatureFlags . isEnabled ( "ENABLE_LOCATION_MEASUREMENT" ) ;
11+ Autodesk . Viewing . FeatureFlags . set ( "ENABLE_LOCATION_MEASUREMENT" , true ) ;
12+
813Autodesk . Viewing . Initializer ( options , async ( ) => {
914 const htmlDiv = document . getElementById ( "forgeViewer" ) ;
1015 if ( ! htmlDiv ) {
Original file line number Diff line number Diff line change @@ -2695,6 +2695,12 @@ declare namespace Autodesk {
26952695 shouldCreateTreeNode ( node : object ) : boolean ;
26962696 }
26972697 }
2698+
2699+ class FeatureFlags {
2700+ static set ( name : string , value : boolean ) : void ;
2701+ static isEnabled ( name : string ) : boolean | undefined ;
2702+ static print ( ) : void ;
2703+ }
26982704 }
26992705
27002706 namespace AEC {
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "name" : " @types/forge-viewer" ,
4- "version" : " 7.89 .9999" ,
4+ "version" : " 7.99 .9999" ,
55 "nonNpm" : true ,
66 "nonNpmDescription" : " Forge Viewer" ,
77 "projects" : [
You can’t perform that action at this time.
0 commit comments