|
| 1 | +import type DocumentationBuilder from './Documentation.js'; |
| 2 | +import type { |
| 3 | + BaseType, |
| 4 | + Documentation, |
| 5 | + ElementsType, |
| 6 | + FunctionArgumentType, |
| 7 | + FunctionSignatureType, |
| 8 | + LiteralType, |
| 9 | + MethodParameter, |
| 10 | + MethodReturn, |
| 11 | + ObjectSignatureType, |
| 12 | + PropDescriptor, |
| 13 | + PropTypeDescriptor, |
| 14 | + SimpleType, |
| 15 | + TSFunctionSignatureType, |
| 16 | + TypeDescriptor, |
| 17 | +} from './Documentation.js'; |
| 18 | +import type FileState from './FileState.js'; |
| 19 | +import type { Config } from './config.js'; |
| 20 | +import { createConfig, defaultHandlers } from './config.js'; |
| 21 | +import { ERROR_CODES } from './error.js'; |
| 22 | +import type { Handler } from './handlers/index.js'; |
1 | 23 | import * as builtinHandlers from './handlers/index.js';
|
2 |
| -import parse from './parse.js'; |
3 |
| -import * as builtinResolvers from './resolver/index.js'; |
| 24 | +import type { Importer } from './importer/index.js'; |
4 | 25 | import {
|
5 | 26 | fsImporter,
|
6 | 27 | ignoreImporter,
|
7 | 28 | makeFsImporter,
|
8 | 29 | } from './importer/index.js';
|
9 |
| -import * as utils from './utils/index.js'; |
10 |
| -import type { Documentation } from './Documentation.js'; |
11 |
| -import type DocumentationBuilder from './Documentation.js'; |
| 30 | +import parse from './parse.js'; |
12 | 31 | import type {
|
13 | 32 | Resolver,
|
14 | 33 | ResolverClass,
|
15 | 34 | ResolverFunction,
|
16 | 35 | } from './resolver/index.js';
|
17 |
| -import type { Importer } from './importer/index.js'; |
18 |
| -import type { Handler } from './handlers/index.js'; |
19 |
| -import type FileState from './FileState.js'; |
20 |
| -import type { Config } from './config.js'; |
21 |
| -import { createConfig, defaultHandlers } from './config.js'; |
22 |
| -import { ERROR_CODES } from './error.js'; |
| 36 | +import * as builtinResolvers from './resolver/index.js'; |
| 37 | +import * as utils from './utils/index.js'; |
23 | 38 |
|
24 | 39 | const builtinImporters = {
|
25 | 40 | fsImporter,
|
@@ -66,23 +81,36 @@ export type * as babelTypes from '@babel/types';
|
66 | 81 |
|
67 | 82 | export {
|
68 | 83 | builtinHandlers,
|
69 |
| - builtinResolvers, |
70 | 84 | builtinImporters,
|
| 85 | + builtinResolvers, |
71 | 86 | defaultHandlers,
|
| 87 | + ERROR_CODES, |
72 | 88 | makeFsImporter,
|
73 | 89 | defaultParse as parse,
|
74 | 90 | utils,
|
75 |
| - ERROR_CODES, |
76 | 91 | };
|
77 | 92 |
|
78 | 93 | export type {
|
79 |
| - Importer, |
| 94 | + BaseType, |
| 95 | + Config, |
| 96 | + Documentation, |
| 97 | + DocumentationBuilder, |
| 98 | + ElementsType, |
| 99 | + FileState, |
| 100 | + FunctionArgumentType, |
| 101 | + FunctionSignatureType, |
80 | 102 | Handler,
|
| 103 | + Importer, |
| 104 | + LiteralType, |
| 105 | + MethodParameter, |
| 106 | + MethodReturn, |
| 107 | + ObjectSignatureType, |
| 108 | + PropDescriptor, |
| 109 | + PropTypeDescriptor, |
81 | 110 | Resolver,
|
82 | 111 | ResolverClass,
|
83 | 112 | ResolverFunction,
|
84 |
| - FileState, |
85 |
| - Config, |
86 |
| - Documentation, |
87 |
| - DocumentationBuilder, |
| 113 | + SimpleType, |
| 114 | + TSFunctionSignatureType, |
| 115 | + TypeDescriptor, |
88 | 116 | };
|
0 commit comments