Skip to content

Getting error at compile time #1519

Closed
Closed
@sarahbenjamin

Description

@sarahbenjamin

I downloaded the React-Azure-maps-playground-master folder and ran npm install and npm run on the folder. That added the node_module folder.

I am using TypeScript React 3.9.6

When I run npm start. I get a compiler error like this

Starting the development server...
Failed to compile.

/react-azure-maps-playground-master/node_modules/jest-diff/build/diffLines.d.ts
TypeScript error in /react-azure-maps-playground-master/node_modules/jest-diff/build/diffLines.d.ts(8,13):
'=' expected. TS1005

 6 |  */
 7 | import { Diff } from './cleanupSemantic';

8 | import type { DiffOptions } from './types';
| ^
9 | export declare const diffLinesUnified: (aLines: Array, bLines: Array, options?: DiffOptions | undefined) => string;
10 | export declare const diffLinesUnified2: (aLinesDisplay: Array, bLinesDisplay: Array, aLinesCompare: Array, bLinesCompare: Array, options?: DiffOptions | undefined) => string;
11 | export declare const diffLinesRaw: (aLines: Array, bLines: Array) => Array;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release 6.xwork is associated with a specific npm 6 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions