can-type

Type definitions

can-type

Type definitions

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-type';

CommonJS use

Use require to load can-type and everything else needed to create a template that uses can-type:

var plugin = require("can-type");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-type/dist/global/can-type.js'></script>

HomePage

https://canjs.com/doc/can-type.html

Repository

https://github.com/canjs/can-type