Skip to content

Commit

Permalink
reformat(core): update entry file exports and format files
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Apr 21, 2024
1 parent d57ba6b commit 67fae4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// all modules
import dom from "./dom";
import date from "./date";
import request from "./request";
Expand All @@ -19,7 +18,6 @@ if (__DEV__) {
);
}

// export
export {
dom,
date,
Expand All @@ -34,7 +32,10 @@ export {
};
export type { FastjsDom, FastjsDate, FastjsDomList, FastjsRequest };
export type * from "./dom/def";
export type * from "./dom/css";
export type * from "./dom/dom-types";
export type * from "./dom/dom-list-types"
export type * from "./date/def";
export type * from "./date/date-types";
export type * from "./request/def";
export type * from "./request/config";
export type * from "./request/fetch-types"
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type FastjsDom from "./dom/dom";
import type { FastjsDomList } from "./dom/dom-list";
import type { FastjsDom } from "./dom/dom-types";
import type { FastjsDomList } from "./dom/dom-list-types";

export function isUndefined(value: any): value is undefined {
return value === undefined;
Expand Down

0 comments on commit 67fae4c

Please sign in to comment.