How a request was asked for — what parseRequestKind read, and what a miss has to explain.
import type { RequestReference } from './http-service.ts'; const asked: RequestReference = { kind: 'id', id: 3 }; asked.kind; // 'id'
How a request was asked for — what parseRequestKind read, and what a miss has to explain.
import type { RequestReference } from './http-service.ts'; const asked: RequestReference = { kind: 'id', id: 3 }; asked.kind; // 'id'
import { type RequestReference } from "lib/repl/http-service.ts";