1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 02:17:37 +02:00

Various grammatical changes

This commit is contained in:
David Wheatley
2021-07-09 08:56:10 +01:00
committed by GitHub
parent f4807ada6a
commit 91d4c63090

View File

@@ -1,12 +1,12 @@
# Flarum Typescript Config # Flarum Typescript Config
A standardised `tsconfig.json` for use in Typescript Flarum extensions. A standardised `tsconfig.json` for use in Flarum extensions.
## Usage ## Usage
You'll need to configure a `tsconfig.json` file to ensure your IDE sets up Typescript support correctly. You'll need to configure a `tsconfig.json` file to ensure your IDE sets up Typescript support correctly.
You need to install this package as a dev dependency: You need to install this package as a dev dependency to your extension JS:
```properties ```properties
npm install --save-dev flarum-tsconfig npm install --save-dev flarum-tsconfig
@@ -32,4 +32,4 @@ A baseline `tsconfig.json` is provided below that you can modify as needed. This
} }
``` ```
You'll also need to ensure that you run `composer update` in your extension's root directory to ensure that a copy of core is downloaded to your `vendor` folder. Remember that `vendor` should **not** be committed to git repositories. You'll also need to ensure that you run `composer update` in your extension's root directory to ensure that a copy of Flarum core is downloaded to your `vendor` folder. Remember that `vendor` should **not** be committed to Git repositories.