이전 util 이전
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Nullable } from "@util/Nullable";
|
||||
import { NotNullExpected } from "@util/NotNullExpected";
|
||||
import type { Nullable } from './Nullable';
|
||||
import { NotNullExpected } from "./NotNullExpected";
|
||||
|
||||
export function unwrap<T>(result: Nullable<T>): T {
|
||||
if (result === null || result === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user