microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
replace-deprecated-moduleResolution

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/typings/exponent/metroConfig.d.ts

30lines · modeblame

242759feJiglioNero5 years ago1// Type definitions for @expo/metro-config v0.1.54
2// Project: https://github.com/expo/expo-cli/tree/master/packages/metro-config
3
176f99c8ConnorQi013 months ago4declare namespace metroConfig {
242759feJiglioNero5 years ago5interface ILoadOptions {
6config?: string;
7maxWorkers?: number;
8port?: number;
9reporter?: Reporter;
10resetCache?: boolean;
11target?: ProjectTarget;
12}
13
14interface IResolver {
15sourceExts: string[];
16}
17
18interface IMetroConfig {
19resolver: IResolver;
20}
21
176f99c8ConnorQi013 months ago22var loadAsync: (
23projectRoot: string,
24{ reporter, target, ...metroOptions }?: ILoadOptions,
25) => Promise<IMetroConfig>;
242759feJiglioNero5 years ago26}
27
28declare module "metro-config" {
29export = metroConfig;
176f99c8ConnorQi013 months ago30}