Skip to content

Commit

Permalink
fix: change types.d.ts to types.ts (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jun 4, 2023
1 parent e67034c commit 7101f87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/application.test-d.ts
@@ -1,9 +1,10 @@
import { expectType } from 'tsd';
import { Context } from '../src/application';
import Application from '../src/application';
import { Context } from './application';
import Application from './application';

const ctx = {} as Context;
expectType<string>(ctx.ip);
expectType<Application>(ctx.app);

const app = {} as Application;
expectType<string>(app.env);
Expand Down
File renamed without changes.

0 comments on commit 7101f87

Please sign in to comment.