https://github.com/geocine/typescript-transform
experiment in typescript transform
https://github.com/geocine/typescript-transform
typescript typescript-transformer
Last synced: 6 months ago
JSON representation
experiment in typescript transform
- Host: GitHub
- URL: https://github.com/geocine/typescript-transform
- Owner: geocine
- Created: 2018-09-26T06:56:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-14T07:08:19.000Z (almost 7 years ago)
- Last Synced: 2025-02-14T04:33:29.921Z (8 months ago)
- Topics: typescript, typescript-transformer
- Language: TypeScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typescript Transform
This repository contains all my experiments on typescript transform. I have added an initial class transformation example
**source:**
```js
import { CustomElement } from 'custom-elements-ts';
@CustomElement()
export class CounterElement {
}export class StepperElement {}
```**transformed:**
```js
import { CustomElement, CustomHTMLElement } from 'custom-elements-ts';
@CustomElement()
export class CounterElement extends CustomHTMLElement {
}// not transformed since it has not been decorated with @CustomElement
export class StepperElement {}
```