1 | # config-types
|
2 |
|
3 | Types for the Expo config object `app.config.ts`.
|
4 |
|
5 | ## Usage
|
6 |
|
7 | ```ts
|
8 | import { ExpoConfig } from '@expo/config-types';
|
9 |
|
10 | export default (): ExpoConfig => {
|
11 | return {
|
12 | name: 'My App',
|
13 | slug: 'my-app',
|
14 | };
|
15 | };
|
16 | ```
|
17 |
|
18 | ## Contributing
|
19 |
|
20 | This 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.
|