Skip to content

Commit

Permalink
import Option as type
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisjiang committed Aug 2, 2024
1 parent 1491a87 commit b0b294e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/enum/result.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { assert, assertThrows } from "@std/assert";
import { assertSpyCalls, spy } from '@std/testing/mock';
import { Err, None, Ok, Option, Some, promiseToAsyncResult, type Result } from '../../src/mod.ts';
import { Err, None, Ok, Some, promiseToAsyncResult, type Option, type Result } from '../../src/mod.ts';

Deno.test('Result:Ok', async (t) => {
const r: Result<number, Error> = Ok(1);
Expand Down

0 comments on commit b0b294e

Please sign in to comment.