|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | import * as TsConfigLoader2 from "./tsconfig-loader";
|
|---|
| 2 | export interface ExplicitParams {
|
|---|
| 3 | baseUrl: string;
|
|---|
| 4 | paths: {
|
|---|
| 5 | [key: string]: Array<string>;
|
|---|
| 6 | };
|
|---|
| 7 | mainFields?: Array<string>;
|
|---|
| 8 | addMatchAll?: boolean;
|
|---|
| 9 | }
|
|---|
| 10 | export declare type TsConfigLoader = (params: TsConfigLoader2.TsConfigLoaderParams) => TsConfigLoader2.TsConfigLoaderResult;
|
|---|
| 11 | export interface ConfigLoaderParams {
|
|---|
| 12 | cwd: string;
|
|---|
| 13 | explicitParams?: ExplicitParams;
|
|---|
| 14 | tsConfigLoader?: TsConfigLoader;
|
|---|
| 15 | }
|
|---|
| 16 | export interface ConfigLoaderSuccessResult {
|
|---|
| 17 | resultType: "success";
|
|---|
| 18 | configFileAbsolutePath: string;
|
|---|
| 19 | baseUrl: string;
|
|---|
| 20 | absoluteBaseUrl: string;
|
|---|
| 21 | paths: {
|
|---|
| 22 | [key: string]: Array<string>;
|
|---|
| 23 | };
|
|---|
| 24 | mainFields?: Array<string>;
|
|---|
| 25 | addMatchAll?: boolean;
|
|---|
| 26 | }
|
|---|
| 27 | export interface ConfigLoaderFailResult {
|
|---|
| 28 | resultType: "failed";
|
|---|
| 29 | message: string;
|
|---|
| 30 | }
|
|---|
| 31 | export declare type ConfigLoaderResult = ConfigLoaderSuccessResult | ConfigLoaderFailResult;
|
|---|
| 32 | export declare function loadConfig(cwd?: string): ConfigLoaderResult;
|
|---|
| 33 | export declare function configLoader({ cwd, explicitParams, tsConfigLoader, }: ConfigLoaderParams): ConfigLoaderResult;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.