File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -537,14 +537,14 @@ declare namespace WebAssembly {
537537
538538 interface Table {
539539 readonly length : number ;
540- get ( index : number ) : Function | null ;
541- grow ( delta : number ) : number ;
542- set ( index : number , value : Function | null ) : void ;
540+ get ( index : number ) : any ;
541+ grow ( delta : number , value ?: any ) : number ;
542+ set ( index : number , value ?: any ) : void ;
543543 }
544544
545545 var Table : {
546546 readonly prototype : Table ;
547- new ( descriptor : TableDescriptor ) : Table ;
547+ new ( descriptor : TableDescriptor , value ?: any ) : Table ;
548548 } ;
549549
550550 interface GlobalDescriptor {
@@ -581,8 +581,8 @@ declare namespace WebAssembly {
581581 }
582582
583583 type ImportExportKind = "function" | "global" | "memory" | "table" ;
584- type TableKind = "anyfunc" ;
585- type ValueType = "f32" | "f64" | "i32" | "i64" ;
584+ type TableKind = "anyfunc" | "externref" ;
585+ type ValueType = "anyfunc" | "externref" | " f32" | "f64" | "i32" | "i64" ;
586586 type ExportValue = Function | Global | Memory | Table ;
587587 type Exports = Record < string , ExportValue > ;
588588 type ImportValue = ExportValue | number ;
Original file line number Diff line number Diff line change @@ -17583,14 +17583,14 @@ declare namespace WebAssembly {
1758317583
1758417584 interface Table {
1758517585 readonly length: number;
17586- get(index: number): Function | null ;
17587- grow(delta: number): number;
17588- set(index: number, value: Function | null ): void;
17586+ get(index: number): any ;
17587+ grow(delta: number, value?: any ): number;
17588+ set(index: number, value?: any ): void;
1758917589 }
1759017590
1759117591 var Table: {
1759217592 readonly prototype: Table;
17593- new(descriptor: TableDescriptor): Table;
17593+ new(descriptor: TableDescriptor, value?: any ): Table;
1759417594 };
1759517595
1759617596 interface GlobalDescriptor {
@@ -17627,8 +17627,8 @@ declare namespace WebAssembly {
1762717627 }
1762817628
1762917629 type ImportExportKind = "function" | "global" | "memory" | "table";
17630- type TableKind = "anyfunc";
17631- type ValueType = "f32" | "f64" | "i32" | "i64";
17630+ type TableKind = "anyfunc" | "externref" ;
17631+ type ValueType = "anyfunc" | "externref" | " f32" | "f64" | "i32" | "i64";
1763217632 type ExportValue = Function | Global | Memory | Table;
1763317633 type Exports = Record<string, ExportValue>;
1763417634 type ImportValue = ExportValue | number;
Original file line number Diff line number Diff line change @@ -5404,14 +5404,14 @@ declare namespace WebAssembly {
54045404
54055405 interface Table {
54065406 readonly length : number ;
5407- get ( index : number ) : Function | null ;
5408- grow ( delta : number ) : number ;
5409- set ( index : number , value : Function | null ) : void ;
5407+ get ( index : number ) : any ;
5408+ grow ( delta : number , value ?: any ) : number ;
5409+ set ( index : number , value ?: any ) : void ;
54105410 }
54115411
54125412 var Table : {
54135413 readonly prototype : Table ;
5414- new ( descriptor : TableDescriptor ) : Table ;
5414+ new ( descriptor : TableDescriptor , value ?: any ) : Table ;
54155415 } ;
54165416
54175417 interface GlobalDescriptor {
@@ -5448,8 +5448,8 @@ declare namespace WebAssembly {
54485448 }
54495449
54505450 type ImportExportKind = "function" | "global" | "memory" | "table" ;
5451- type TableKind = "anyfunc" ;
5452- type ValueType = "f32" | "f64" | "i32" | "i64" ;
5451+ type TableKind = "anyfunc" | "externref" ;
5452+ type ValueType = "anyfunc" | "externref" | " f32" | "f64" | "i32" | "i64" ;
54535453 type ExportValue = Function | Global | Memory | Table ;
54545454 type Exports = Record < string , ExportValue > ;
54555455 type ImportValue = ExportValue | number ;
Original file line number Diff line number Diff line change @@ -5448,14 +5448,14 @@ declare namespace WebAssembly {
54485448
54495449 interface Table {
54505450 readonly length : number ;
5451- get ( index : number ) : Function | null ;
5452- grow ( delta : number ) : number ;
5453- set ( index : number , value : Function | null ) : void ;
5451+ get ( index : number ) : any ;
5452+ grow ( delta : number , value ?: any ) : number ;
5453+ set ( index : number , value ?: any ) : void ;
54545454 }
54555455
54565456 var Table : {
54575457 readonly prototype : Table ;
5458- new ( descriptor : TableDescriptor ) : Table ;
5458+ new ( descriptor : TableDescriptor , value ?: any ) : Table ;
54595459 } ;
54605460
54615461 interface GlobalDescriptor {
@@ -5492,8 +5492,8 @@ declare namespace WebAssembly {
54925492 }
54935493
54945494 type ImportExportKind = "function" | "global" | "memory" | "table" ;
5495- type TableKind = "anyfunc" ;
5496- type ValueType = "f32" | "f64" | "i32" | "i64" ;
5495+ type TableKind = "anyfunc" | "externref" ;
5496+ type ValueType = "anyfunc" | "externref" | " f32" | "f64" | "i32" | "i64" ;
54975497 type ExportValue = Function | Global | Memory | Table ;
54985498 type Exports = Record < string , ExportValue > ;
54995499 type ImportValue = ExportValue | number ;
Original file line number Diff line number Diff line change @@ -5667,14 +5667,14 @@ declare namespace WebAssembly {
56675667
56685668 interface Table {
56695669 readonly length : number ;
5670- get ( index : number ) : Function | null ;
5671- grow ( delta : number ) : number ;
5672- set ( index : number , value : Function | null ) : void ;
5670+ get ( index : number ) : any ;
5671+ grow ( delta : number , value ?: any ) : number ;
5672+ set ( index : number , value ?: any ) : void ;
56735673 }
56745674
56755675 var Table : {
56765676 readonly prototype : Table ;
5677- new ( descriptor : TableDescriptor ) : Table ;
5677+ new ( descriptor : TableDescriptor , value ?: any ) : Table ;
56785678 } ;
56795679
56805680 interface GlobalDescriptor {
@@ -5711,8 +5711,8 @@ declare namespace WebAssembly {
57115711 }
57125712
57135713 type ImportExportKind = "function" | "global" | "memory" | "table" ;
5714- type TableKind = "anyfunc" ;
5715- type ValueType = "f32" | "f64" | "i32" | "i64" ;
5714+ type TableKind = "anyfunc" | "externref" ;
5715+ type ValueType = "anyfunc" | "externref" | " f32" | "f64" | "i32" | "i64" ;
57165716 type ExportValue = Function | Global | Memory | Table ;
57175717 type Exports = Record < string , ExportValue > ;
57185718 type ImportValue = ExportValue | number ;
Original file line number Diff line number Diff line change 5252 "styleless-innertext" : " ^1.1.2" ,
5353 "typescript" : " ^4.2.0-dev.20210210" ,
5454 "webidl2" : " ^23.13.1" ,
55- "webref" : " github:w3c/webref#0c206818a4f3bda0056a23a44a2d2aa89cc40f13 "
55+ "webref" : " github:w3c/webref#41a8ec6b85634d1bdf5daa85f3c32a1adad1d2f8 "
5656 },
5757 "files" : [
5858 " baselines/*"
You can’t perform that action at this time.
0 commit comments