twilio-labs / serverless-toolkit

CLI tool to develop, debug and deploy Twilio Functions

Home Page:https://www.twilio.com/docs/labs/serverless-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New TypeScript projects are completely uncompilable

nathan-kinship opened this issue · comments

Following the documentation for creating a new project:

twilio serverless:init my-project --typescript
cd my-project
npm run build

127 errors are generated because the rest of your dependencies demand TS4 and you're trying to use TS3.8.

 % npm run build                                                                                                                  (:)

> my-project@0.0.0 build
> tsc && npm run build:copy-assets

node_modules/@types/express-serve-static-core/index.d.ts:102:68 - error TS1110: Type expected.

102 type RemoveTail<S extends string, Tail extends string> = S extends `${infer P}${Tail}` ? P : S;
                                                                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:102:77 - error TS1005: '}' expected.

102 type RemoveTail<S extends string, Tail extends string> = S extends `${infer P}${Tail}` ? P : S;
                                                                                ~

node_modules/@types/express-serve-static-core/index.d.ts:102:78 - error TS1128: Declaration or statement expected.

102 type RemoveTail<S extends string, Tail extends string> = S extends `${infer P}${Tail}` ? P : S;
                                                                                 ~

node_modules/@types/express-serve-static-core/index.d.ts:102:80 - error TS1005: ';' expected.

102 type RemoveTail<S extends string, Tail extends string> = S extends `${infer P}${Tail}` ? P : S;
                                                                                   ~

node_modules/@types/express-serve-static-core/index.d.ts:104:33 - error TS1005: ';' expected.

104     RemoveTail<RemoveTail<S, `/${string}`>, `-${string}`>,
                                    ~

node_modules/@types/express-serve-static-core/index.d.ts:104:48 - error TS1005: ';' expected.

104     RemoveTail<RemoveTail<S, `/${string}`>, `-${string}`>,
                                                   ~

node_modules/@types/express-serve-static-core/index.d.ts:105:8 - error TS1005: ';' expected.

105     `.${string}`
           ~

node_modules/@types/express-serve-static-core/index.d.ts:111:22 - error TS1005: ';' expected.

111     : Route extends `${string}(${string}`
                         ~

node_modules/@types/express-serve-static-core/index.d.ts:111:23 - error TS1005: ';' expected.

111     : Route extends `${string}(${string}`
                          ~

node_modules/@types/express-serve-static-core/index.d.ts:111:33 - error TS1005: ')' expected.

111     : Route extends `${string}(${string}`
                                    ~

node_modules/@types/express-serve-static-core/index.d.ts:113:26 - error TS1005: ';' expected.

113         : Route extends `${string}:${infer Rest}`
                             ~

node_modules/@types/express-serve-static-core/index.d.ts:113:27 - error TS1005: ';' expected.

113         : Route extends `${string}:${infer Rest}`
                              ~

node_modules/@types/express-serve-static-core/index.d.ts:113:35 - error TS1128: Declaration or statement expected.

113         : Route extends `${string}:${infer Rest}`
                                      ~

node_modules/@types/express-serve-static-core/index.d.ts:113:37 - error TS1005: ';' expected.

113         : Route extends `${string}:${infer Rest}`
                                        ~

node_modules/@types/express-serve-static-core/index.d.ts:113:44 - error TS1005: ';' expected.

113         : Route extends `${string}:${infer Rest}`
                                               ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:117:52 - error TS1005: ';' expected.

117                 : GetRouteParameter<Rest> extends `${infer ParamName}?`
                                                       ~

node_modules/@types/express-serve-static-core/index.d.ts:117:53 - error TS1005: ';' expected.

117                 : GetRouteParameter<Rest> extends `${infer ParamName}?`
                                                        ~

node_modules/@types/express-serve-static-core/index.d.ts:117:60 - error TS1005: ';' expected.

117                 : GetRouteParameter<Rest> extends `${infer ParamName}?`
                                                               ~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:117:70 - error TS1128: Declaration or statement expected.

117                 : GetRouteParameter<Rest> extends `${infer ParamName}?`
                                                                         ~

node_modules/@types/express-serve-static-core/index.d.ts:121:28 - error TS1005: ';' expected.

121             (Rest extends `${GetRouteParameter<Rest>}${infer Next}`
                               ~

node_modules/@types/express-serve-static-core/index.d.ts:121:29 - error TS1005: ';' expected.

121             (Rest extends `${GetRouteParameter<Rest>}${infer Next}`
                                ~

node_modules/@types/express-serve-static-core/index.d.ts:121:53 - error TS1005: '(' expected.

121             (Rest extends `${GetRouteParameter<Rest>}${infer Next}`
                                                        ~

node_modules/@types/express-serve-static-core/index.d.ts:121:55 - error TS1005: ';' expected.

121             (Rest extends `${GetRouteParameter<Rest>}${infer Next}`
                                                          ~

node_modules/@types/express-serve-static-core/index.d.ts:121:62 - error TS1005: ';' expected.

121             (Rest extends `${GetRouteParameter<Rest>}${infer Next}`
                                                                 ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:237:41 - error TS1005: ';' expected.

237      * Map the given param placeholder `name`(s) to the given callback(s).
                                            ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:246:31 - error TS1005: ';' expected.

246      * of the user. Once the `next()` function is invoked, just like middleware
                                  ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:272:62 - error TS1005: ';' expected.

272      * Special-cased "all" method, applying the given route `path`,
                                                                 ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:368:49 - error TS1005: ';' expected.

368  * @param P  For most requests, this should be `ParamsDictionary`, but if you're
                                                    ~~~~~~~~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:369:59 - error TS1005: ';' expected.

369  * using this in a route handler for a route that uses a `RegExp` or a wildcard
                                                              ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:370:5 - error TS1005: ';' expected.

370  * `string` path (e.g. `'/user/*'`), then `req.params` will be an array, in
        ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:370:25 - error TS1005: ';' expected.

370  * `string` path (e.g. `'/user/*'`), then `req.params` will be an array, in
                            ~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:370:44 - error TS1005: ';' expected.

370  * `string` path (e.g. `'/user/*'`), then `req.params` will be an array, in
                                               ~~~

node_modules/@types/express-serve-static-core/index.d.ts:371:31 - error TS1005: ';' expected.

371  * which case you should use `ParamsArray` instead.
                                  ~~~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:376:84 - error TS1005: ';' expected.

376  *     app.get('/user/:id', (req, res) => res.send(req.params.id)); // implicitly `ParamsDictionary`
                                                                                       ~~~~~~~~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:391:13 - error TS1005: ';' expected.

391      * The `Referrer` header field is special-cased,
                ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:392:14 - error TS1005: ';' expected.

392      * both `Referrer` and `Referer` are interchangeable.
                 ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:392:29 - error TS1005: ';' expected.

392      * both `Referrer` and `Referer` are interchangeable.
                                ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:405:20 - error TS1005: ';' expected.

405      * Aliased as `req.header()`.
                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:414:28 - error TS1005: ';' expected.

414      * Check if the given `type(s)` is acceptable, returning
                               ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:415:45 - error TS1005: ';' expected.

415      * the best match when true, otherwise `undefined`, in which
                                                ~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:418:13 - error TS1005: ';' expected.

418      * The `type` value may be a single mime type string
                ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:492:56 - error TS1005: ';' expected.

492      * Parse Range header field, capping to the given `size`.
                                                           ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:496:48 - error TS1005: ';' expected.

496      * If the Range header field is not given `undefined` is returned.
                                                   ~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:515:35 - error TS1005: ';' expected.

515      * Return the value of param `name` when present or `defaultValue`.
                                      ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:515:58 - error TS1005: ';' expected.

515      * Return the value of param `name` when present or `defaultValue`.
                                                             ~~~~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:521:36 - error TS1005: ';' expected.

521      * To utilize request bodies, `req.body`
                                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:523:13 - error TS1005: ';' expected.

523      * the `connect.bodyParser()` middleware.
                ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:529:53 - error TS1005: ';' expected.

529      * header field, and it contains the give mime `type`.
                                                        ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:569:26 - error TS1005: ';' expected.

569      * "trust proxy" is `true` return
                             ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:575:31 - error TS1005: ';' expected.

575      * When "trust proxy" is `true`, parse
                                  ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:598:24 - error TS1005: ';' expected.

598      * Short-hand for `url.parse(req.url).pathname`.
                           ~~~

node_modules/@types/express-serve-static-core/index.d.ts:679:20 - error TS1005: ';' expected.

679      * Set status `code`.
                       ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:684:46 - error TS1005: ';' expected.

684      * Set the response HTTP status code to `statusCode` and send its string representation as the response body.
                                                 ~~~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:697:46 - error TS1005: ';' expected.

697      * Set Link header field with the given `links`.
                                                 ~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:745:40 - error TS1005: ';' expected.

745      * Transfer the file at the given `path`.
                                           ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:748:22 - error TS1005: ';' expected.

748      * The callback `fn(err)` is invoked when the transfer is complete
                         ~~

node_modules/@types/express-serve-static-core/index.d.ts:749:51 - error TS1005: ';' expected.

749      * or when an error occurs. Be sure to check `res.headersSent`
                                                      ~~~

node_modules/@types/express-serve-static-core/index.d.ts:755:13 - error TS1005: ';' expected.

755      *   - `maxAge`   defaulting to 0 (can be string converted by `ms`)
                ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:755:68 - error TS1005: ';' expected.

755      *   - `maxAge`   defaulting to 0 (can be string converted by `ms`)
                                                                       ~~

node_modules/@types/express-serve-static-core/index.d.ts:756:13 - error TS1005: ';' expected.

756      *   - `root`     root directory for relative filenames
                ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:757:13 - error TS1005: ';' expected.

757      *   - `headers`  object of headers to serve with file
                ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:758:13 - error TS1005: ';' expected.

758      *   - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
                ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:758:68 - error TS1005: ';' expected.

758      *   - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
                                                                       ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:760:43 - error TS1005: ';' expected.

760      * Other options are passed along to `send`.
                                              ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:764:48 - error TS1005: ';' expected.

764      *  The following example illustrates how `res.sendFile()` may
                                                   ~~~

node_modules/@types/express-serve-static-core/index.d.ts:765:44 - error TS1005: ';' expected.

765      *  be used as an alternative for the `static()` middleware for
                                               ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:766:47 - error TS1005: ';' expected.

766      *  dynamic situations. The code backing `res.sendFile()` is actually
                                                  ~~~

node_modules/@types/express-serve-static-core/index.d.ts:805:40 - error TS1005: ';' expected.

805      * Transfer the file at the given `path` as an attachment.
                                           ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:807:54 - error TS1005: ';' expected.

807      * Optionally providing an alternate attachment `filename`,
                                                         ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:808:31 - error TS1005: ';' expected.

808      * and optional callback `fn(err)`. The callback is invoked
                                  ~~

node_modules/@types/express-serve-static-core/index.d.ts:810:35 - error TS1005: ';' expected.

810      * ocurred. Be sure to check `res.headersSent` if you plan to respond.
                                      ~~~

node_modules/@types/express-serve-static-core/index.d.ts:815:26 - error TS1005: ';' expected.

815      * This method uses `res.sendfile()`.
                             ~~~

node_modules/@types/express-serve-static-core/index.d.ts:822:49 - error TS1005: ';' expected.

822      * Set _Content-Type_ response header with `type` through `mime.lookup()`
                                                    ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:822:64 - error TS1005: ';' expected.

822      * Set _Content-Type_ response header with `type` through `mime.lookup()`
                                                                   ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:823:66 - error TS1005: ';' expected.

823      * when it does not contain "/", or set the Content-Type to `type` otherwise.
                                                                     ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:836:49 - error TS1005: ';' expected.

836      * Set _Content-Type_ response header with `type` through `mime.lookup()`
                                                    ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:836:64 - error TS1005: ';' expected.

836      * Set _Content-Type_ response header with `type` through `mime.lookup()`
                                                                   ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:837:66 - error TS1005: ';' expected.

837      * when it does not contain "/", or set the Content-Type to `type` otherwise.
                                                                     ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:850:52 - error TS1005: ';' expected.

850      * Respond to the Acceptable formats using an `obj`
                                                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:853:26 - error TS1005: ';' expected.

853      * This method uses `req.accepted`, an array of
                             ~~~

node_modules/@types/express-serve-static-core/index.d.ts:861:54 - error TS1005: ';' expected.

861      * you may alter this within the callback using `res.type()`
                                                         ~~~

node_modules/@types/express-serve-static-core/index.d.ts:862:12 - error TS1005: ';' expected.

862      * or `res.set('Content-Type', ...)`.
               ~~~

node_modules/@types/express-serve-static-core/index.d.ts:862:39 - error TS1109: Expression expected.

862      * or `res.set('Content-Type', ...)`.
                                          ~

node_modules/@types/express-serve-static-core/index.d.ts:895:38 - error TS1005: ';' expected.

895      * By default Express passes an `Error`
                                         ~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:896:36 - error TS1005: ';' expected.

896      * with a `.status` of 406 to `next(err)`
                                       ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:904:72 - error TS1005: ';' expected.

904      * Set _Content-Disposition_ header to _attachment_ with optional `filename`.
                                                                           ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:909:20 - error TS1005: ';' expected.

909      * Set header `field` to `val`, or pass
                       ~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:909:31 - error TS1005: ';' expected.

909      * Set header `field` to `val`, or pass
                                  ~~~

node_modules/@types/express-serve-static-core/index.d.ts:918:20 - error TS1005: ';' expected.

918      * Aliased as `res.header()`.
                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:929:31 - error TS1005: ';' expected.

929     /** Get value for header `field`. */
                                  ~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:932:23 - error TS1005: ';' expected.

932     /** Clear cookie `name`. */
                          ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:936:20 - error TS1005: ';' expected.

936      * Set cookie `name` to `val`, with the given `options`.
                       ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:936:30 - error TS1005: ';' expected.

936      * Set cookie `name` to `val`, with the given `options`.
                                 ~~~

node_modules/@types/express-serve-static-core/index.d.ts:936:52 - error TS1005: ';' expected.

936      * Set cookie `name` to `val`, with the given `options`.
                                                       ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:940:14 - error TS1005: ';' expected.

940      *    - `maxAge`   max-age in milliseconds, converted to `expires`
                 ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:940:63 - error TS1005: ';' expected.

940      *    - `maxAge`   max-age in milliseconds, converted to `expires`
                                                                  ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:941:14 - error TS1005: ';' expected.

941      *    - `signed`   sign the cookie
                 ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:942:14 - error TS1005: ';' expected.

942      *    - `path`     defaults to "/"
                 ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:957:36 - error TS1005: ';' expected.

957      * Set the location header to `url`.
                                       ~~~

node_modules/@types/express-serve-static-core/index.d.ts:959:19 - error TS1005: ';' expected.

959      * The given `url` can also be the name of a mapped url, for
                      ~~~

node_modules/@types/express-serve-static-core/index.d.ts:971:46 - error TS1005: ';' expected.

971      *   When an application is mounted and `res.location()`
                                                 ~~~

node_modules/@types/express-serve-static-core/index.d.ts:985:31 - error TS1005: ';' expected.

985      * Redirect to the given `url` with optional response `status`
                                  ~~~

node_modules/@types/express-serve-static-core/index.d.ts:985:60 - error TS1005: ';' expected.

985      * Redirect to the given `url` with optional response `status`
                                                               ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:988:23 - error TS1005: ';' expected.

988      * The resulting `url` is determined by `res.location()`, so
                          ~~~

node_modules/@types/express-serve-static-core/index.d.ts:988:46 - error TS1005: ';' expected.

988      * The resulting `url` is determined by `res.location()`, so
                                                 ~~~

node_modules/@types/express-serve-static-core/index.d.ts:990:9 - error TS1005: ';' expected.

990      * `"back"` etc.
            ~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1007:16 - error TS1005: ';' expected.

1007      * Render `view` with the given `options` and optional callback `fn`.
                    ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1007:38 - error TS1005: ';' expected.

1007      * Render `view` with the given `options` and optional callback `fn`.
                                          ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1007:70 - error TS1005: ';' expected.

1007      * Render `view` with the given `options` and optional callback `fn`.
                                                                          ~~

node_modules/@types/express-serve-static-core/index.d.ts:1013:12 - error TS1005: ';' expected.

1013      *  - `cache`     boolean hinting to the engine it should cache
                ~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1014:12 - error TS1005: ';' expected.

1014      *  - `filename`  filename of the view being rendered
                ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1084:53 - error TS1005: ';' expected.

1084      * Register the given template engine callback `fn`
                                                         ~~

node_modules/@types/express-serve-static-core/index.d.ts:1085:12 - error TS1005: ';' expected.

1085      * as `ext`.
                ~~~

node_modules/@types/express-serve-static-core/index.d.ts:1087:25 - error TS1005: ';' expected.

1087      * By default will `require()` the engine based on the
                             ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1102:52 - error TS1005: ';' expected.

1102      * though note that it aliases this method as `ejs.__express` internally
                                                        ~~~

node_modules/@types/express-serve-static-core/index.d.ts:1117:16 - error TS1005: ';' expected.

1117      * Assign `setting` to `val`, or return `setting`'s value.
                    ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1117:29 - error TS1005: ';' expected.

1117      * Assign `setting` to `val`, or return `setting`'s value.
                                 ~~~

node_modules/@types/express-serve-static-core/index.d.ts:1117:46 - error TS1005: ';' expected.

1117      * Assign `setting` to `val`, or return `setting`'s value.
                                                  ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1153:18 - error TS1005: ';' expected.

1153      * Check if `setting` is enabled (truthy).
                      ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1165:18 - error TS1005: ';' expected.

1165      * Check if `setting` is disabled.
                      ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1176:17 - error TS1005: ';' expected.

1176     /** Enable `setting`. */
                     ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1179:18 - error TS1005: ';' expected.

1179     /** Disable `setting`. */
                      ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1183:31 - error TS1005: ';' expected.

1183      * Render the given view `name` name with `options`
                                   ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1183:48 - error TS1005: ';' expected.

1183      * Render the given view `name` name with `options`
                                                    ~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1199:16 - error TS1005: ';' expected.

1199      * A node `http.Server` is returned, with this
                    ~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1200:33 - error TS1005: ';' expected.

1200      * application (which is a `Function`) as its
                                     ~~~~~~~~

node_modules/@types/express-serve-static-core/index.d.ts:1268:1 - error TS1160: Unterminated template literal.

1268 
     

node_modules/@types/node/ts4.8/util.d.ts:1485:42 - error TS1005: ',' expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                              ~

node_modules/@types/node/ts4.8/util.d.ts:1485:44 - error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                                ~~~~~~

node_modules/@types/node/ts4.8/util.d.ts:1485:57 - error TS1005: ';' expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                                             ~

node_modules/@types/node/ts4.8/util.d.ts:1485:65 - error TS1005: ';' expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                                                     ~

node_modules/@types/node/ts4.8/util.d.ts:1485:66 - error TS1109: Expression expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                                                      ~

node_modules/@types/node/ts4.8/util.d.ts:1485:67 - error TS1109: Expression expected.

1485         entries(): IterableIterator<[name: string, value: string]>;
                                                                       ~

node_modules/@types/node/ts4.8/util.d.ts:1490:17 - error TS1005: ',' expected.

1490         get(name: string): string | null;
                     ~

node_modules/@types/node/ts4.8/util.d.ts:1490:26 - error TS1005: ';' expected.

1490         get(name: string): string | null;
                              ~

node_modules/@types/node/ts4.8/util.d.ts:1494:17 - error TS1005: ',' expected.

1494         has(name: string): boolean;
                     ~

node_modules/@types/node/ts4.8/util.d.ts:1494:26 - error TS1005: ';' expected.

1494         has(name: string): boolean;
                              ~

node_modules/@types/node/ts4.8/util.d.ts:1498:15 - error TS1005: ';' expected.

1498         keys(): IterableIterator<string>;
                   ~

node_modules/@types/node/ts4.8/util.d.ts:1498:41 - error TS1005: '(' expected.

1498         keys(): IterableIterator<string>;
                                             ~

node_modules/@types/node/ts4.8/util.d.ts:1504:17 - error TS1005: ',' expected.

1504         set(name: string, value: string): void;
                     ~

node_modules/@types/node/ts4.8/util.d.ts:1504:32 - error TS1005: ',' expected.

1504         set(name: string, value: string): void;
                                    ~

node_modules/@types/node/ts4.8/util.d.ts:1504:41 - error TS1005: ';' expected.

1504         set(name: string, value: string): void;
                                             ~

node_modules/@types/node/ts4.8/util.d.ts:1504:47 - error TS1109: Expression expected.

1504         set(name: string, value: string): void;
                                                   ~

node_modules/@types/node/ts4.8/util.d.ts:1508:17 - error TS1005: ';' expected.

1508         values(): IterableIterator<string>;
                     ~

node_modules/@types/node/ts4.8/util.d.ts:1508:43 - error TS1005: '(' expected.

1508         values(): IterableIterator<string>;
                                               ~

node_modules/@types/node/ts4.8/util.d.ts:1512:26 - error TS1005: ';' expected.

1512         [Symbol.iterator]: typeof MIMEParams.prototype.entries;
                              ~

node_modules/@types/node/ts4.8/util.d.ts:1514:1 - error TS1128: Declaration or statement expected.

1514 }
     ~


Found 147 errors.

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

Hey @nathan-kinship thanks for opening this PR! You should be able to simply bump to TypeScript 4 and it should work. Unfortunately DefinitelyTyped is not adhering to SemVer so a dependency of a dependency broke underneath us. I'll be changing the default version in a new release but in the meantime npm install typescript@latest -D should work.

If a tool you have chosen doesn't work then this sounds like a job for integration tests and/or QA.