Detalhes do pacote

can-type

canjs2.4kMIT1.1.6

Type definitions

canjs, types

readme (leia-me)

can-type

Build Status Greenkeeper badge

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>