( ...args: Array<any> )
| 965 | } |
| 966 | |
| 967 | public static async create( ...args: Array<any> ) { |
| 968 | await deferInitialization.promise; |
| 969 | |
| 970 | return new SlowEditor( args[ 0 ], args[ 1 ] ); |
| 971 | } |
| 972 | } |
| 973 | |
| 974 | const { result } = renderHook( () => useMultiRootEditor( { |