@danielx/civet 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/dist/browser.js +311 -283
- package/dist/browser.js.map +2 -2
- package/dist/civet +7 -7
- package/dist/cli.js.map +3 -3
- package/dist/main.js +311 -283
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -134,11 +134,22 @@ Things Changed from CoffeeScript
|
|
|
134
134
|
Things Added that CoffeeScript didn't
|
|
135
135
|
---
|
|
136
136
|
|
|
137
|
-
- TypeScript
|
|
138
|
-
- Function
|
|
137
|
+
- TypeScript Compatibility
|
|
138
|
+
- Function annotations
|
|
139
139
|
- `namespace`
|
|
140
140
|
- `interface`
|
|
141
141
|
- TypeParameters
|
|
142
|
+
- `!` non-null assertions
|
|
143
|
+
- `:=` readonly class field initializer
|
|
144
|
+
```typescript
|
|
145
|
+
class A
|
|
146
|
+
x := 3
|
|
147
|
+
```
|
|
148
|
+
```typescript
|
|
149
|
+
class A {
|
|
150
|
+
readonly x = 3;
|
|
151
|
+
};
|
|
152
|
+
```
|
|
142
153
|
- JS Compatability
|
|
143
154
|
- `var`, `let`, `const`
|
|
144
155
|
- JS Comment Syntax `//` and `/* */`
|