(schema: Schema)
| 49 | } |
| 50 | |
| 51 | remove(schema: Schema): this { |
| 52 | const meta: any = this._map.get(schema); |
| 53 | if (meta && typeof meta === "object" && "id" in meta) { |
| 54 | this._idmap.delete(meta.id!); |
| 55 | } |
| 56 | this._map.delete(schema); |
| 57 | return this; |
| 58 | } |
| 59 | |
| 60 | get<S extends Schema>(schema: S): $replace<Meta, S> | undefined { |
| 61 | // return this._map.get(schema) as any; |
no test coverage detected