Skip to content

gajus/babel-plugin-typecheck-annotated-difference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-typecheck-annotated-difference

Example of formatting an object for printing showing an annotated difference between type shape object and subject data object.

This example is built to address codemix/babel-plugin-typecheck#93 issue.

Use

node ./dist

Example output:

{
    foo: "string",
    bar: "string", expected value type "string", actual type "number"
    a: {
        b: "string" expected value type "string", actual type "number"
    }
}

Install

git clone git@github.com:gajus/babel-plugin-typecheck-annotated-difference.git
cd ./babel-plugin-typecheck-annotated-difference
npm install
npm run build
node ./dist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published