()
| 360 | } |
| 361 | |
| 362 | private isAny() { |
| 363 | const keyTypeId = this.typeInfo.options?.key!.typeId; |
| 364 | const valueTypeId = this.typeInfo.options?.value!.typeId; |
| 365 | return ( |
| 366 | keyTypeId === TypeId.UNKNOWN |
| 367 | || valueTypeId === TypeId.UNKNOWN |
| 368 | || !TypeId.isBuiltin(keyTypeId!) |
| 369 | || !TypeId.isBuiltin(valueTypeId!) |
| 370 | ); |
| 371 | } |
| 372 | |
| 373 | private writeSpecificType(accessor: string) { |
| 374 | const k = this.scope.uniqueName("k"); |