Rebasely Beta: data may be purged

justintypescript-ultra-strict Public

TypeScript · 7 lines · 471 B · at 9c48a39

// @tsus/v2/authority: the one place a Permit is made. The checker allows this import only in// files named *.access.ts (TSUS602), so every Permit in a program traces back to an access check// someone can review in one place.import type { Permit } from "./index.js";/** Records that an access check allowed `action` on `resource`. Call it only after the check. */export declare function issuePermit<const A extends string, R>(action: A, resource: R): Permit<A, R>;