mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
5 lines
324 B
TypeScript
5 lines
324 B
TypeScript
import type { Unknownify } from "../types";
|
|
// This function is empty because Unknownify<T> is a typesafe assertion on any object with no runtime checks needed.
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
export function assertLoadingType<T extends object>(val: object): asserts val is Unknownify<T> {}
|