UNPKG

651 BMarkdownView Raw
1# config-types
2
3Types for the Expo config object `app.config.ts`.
4
5## Usage
6
7```ts
8import { ExpoConfig } from '@expo/config-types';
9
10export default (): ExpoConfig => {
11 return {
12 name: 'My App',
13 slug: 'my-app',
14 };
15};
16```
17
18## Contributing
19
20This package is 100% generated using the versioned JSON schemas from the Expo server.
21
22- `yarn generate` - uses the major version from the `package.json`.
23- `yarn generate --path ../../../universe/server/www/xdl-schemas/UNVERSIONED-schema.json` - uses the latest version from your local directory.
24- `yarn generate 39` - uses the given version.
25- `yarn generate unversioned` - uses the latest version.