Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.
/ adonisjs-types Public archive

[WIP] Adonis framework TypeScript definitions.

Notifications You must be signed in to change notification settings

xxzefgh/adonisjs-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Install adonis4-types package:

    npm i --save adonis4-types

  2. Add following tsconfig.json file in your project root:

    {
      "compilerOptions": {
        "allowJs": true,
        "moduleResolution": "node"
      },
      "files": [
        "node_modules/adonis4-types/index.d.ts"
      ],
      "include": [
        "./**/*.js"
      ],
      "exclude": [
        "node_modules"
      ]
    }

This is a minimal required configuration for types to work. You can tweak it further.

About

[WIP] Adonis framework TypeScript definitions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published