Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ErrorScript Test Repo

Test repository for ErrorScript — a TypeScript fork with inferred error checking.

This can be used to quickly validate that

Docs & playground: errorscript-playground.vercel.app

Prerequisites

Clone the ErrorScript repo next to this repo and use the errorscript branch:

Setup

  1. Clone and checkout ErrorScript (if you haven’t already):

    git clone https://github.com/JamesDHW/ErrorScript.git ../ErrorScript
    cd ../ErrorScript
    git checkout errorscript
  2. Build the playground package (produces the .tgz this repo installs):

    cd ../ErrorScript
    npm run build:playground
  3. Install dependencies in this repo (use --force to avoid cache):

    cd ../ErrorScript-test-repo   # or back to this repo
    pnpm i --force

After that you can use the local ErrorScript compiler (e.g. pnpm exec tsc) as usual.

  1. Select your VSCode version of TypeScript

    • Open index.ts
    • cmd + shft + P and type TypeScript: Select TypeScript Version...
    • Select Use Workspace Version 6.0.0-errorscript

You should see that index.ts is now working as expected.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages