Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

taktik-polymer-typescript

Package Overview
Dependencies
Maintainers
5
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taktik-polymer-typescript - npm Package Compare versions

Comparing version 5.3.0 to 5.4.0

8

dist/src/index.d.ts

@@ -0,1 +1,4 @@

import 'reflect-metadata';
import '../type/shadow';
import '../type/polymer';
/**

@@ -5,7 +8,2 @@ * A TypeScript class decorator that defines a custom element with name

*/
import 'reflect-metadata';
import '../type/shadow';
import '../type/polymer';
import '../type/iron-ajax';
import '../type/missing';
export declare function customElement(tagname: string): (clazz: any) => void;

@@ -12,0 +10,0 @@ /**

@@ -0,1 +1,4 @@

import 'reflect-metadata';
import '../type/shadow';
import '../type/polymer';
/**

@@ -5,7 +8,2 @@ * A TypeScript class decorator that defines a custom element with name

*/
import 'reflect-metadata';
import '../type/shadow';
import '../type/polymer';
import '../type/iron-ajax';
import '../type/missing';
export function customElement(tagname) {

@@ -12,0 +10,0 @@ return (clazz) => {

{
"name": "taktik-polymer-typescript",
"version": "5.3.0",
"version": "5.4.0",
"publishConfig": {

@@ -24,3 +24,3 @@ "access": "public"

"devDependencies": {
"ozone-type": "^5.3.0"
"ozone-type": "^5.4.0"
},

@@ -30,3 +30,3 @@ "dependencies": {

},
"gitHead": "efb9950fcea52e015a0a316915a21e58481cf2f2"
"gitHead": "ad81f40c3a71323098a7b18c65e07edf394aed94"
}
[![NPM version][npm-image]][npm-url]
# \<taktik-polymer-typeScript\>
# taktik-polymer-typeScript
!! WARNING !! Unmaintained project.
Module providing development facilities for ozone polymer type script modules.
Module providing development facilities for ozone polymer V2 typescript modules.
## Decorators
* **@customElement(tagname: string)** Class decorator that defines a custom element with name `tagname`
* **@property(options?: PropertyOptions)** Property decorator factory that defines this as a Polymer property.
* **@observe(...targets: string[])** Method decorator that causes the decorated method to be called when a property changes. `targets` is either a single property name, or a list of property names.
## install & configure this module in an other a typeScript project
- step 1: install dependency
> Install you dependency
> npm install --save taktik-polymer-typescript
- step 2: use node module resolution in tsconfig.json
```json
{
"compilerOptions":{
"moduleResolution": "node"
}
}
```
- step 3: import where you need
```typescript

@@ -35,2 +25,2 @@ import {customElement} from 'taktik-polymer-typescript' // Import elements

[npm-image]: https://badge.fury.io/js/ozone-type.svg
[npm-url]: https://npmjs.org/package/ozone-type
[npm-url]: https://npmjs.org/package/ozone-type
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc