2.1.1 • Published 5 months ago

@enonic-types/lib-static v2.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Types for Static asset library

Install

npm i --save-dev @enonic-types/lib-static

Setup

Add lib-static to compilerOptions.paths in the tsconfig.json file:

{
  "compilerOptions": {
    "paths": {
      "/lib/enonic/static": ["node_modules/@enonic-types/lib-static"],
    }
  }
}

Use

import {requestHandler} from '/lib/enonic/static';

All imports from /lib/enonic/static should now be typed.

Documentation

Static asset library

2.1.1

5 months ago

2.1.0

6 months ago

2.1.0-B1

7 months ago

2.0.0

12 months ago

2.0.0-B6

1 year ago

2.0.0-B5

1 year ago

2.0.0-B4

1 year ago

2.0.0-B3

1 year ago