All Questions
3
questions
0
votes
0
answers
153
views
different behavior es6 Proxy on NodeJs and Web when return in class constructor that extends
import * as Parse from 'parse';
import { Object as ParseObject } from 'parse';
export interface IItem {
num: number;
}
export class Item extends ParseObject<IItem> implements IItem {
num = 1;
...
11
votes
2
answers
12k
views
Typescript Compiler Does Not Know About ES6 Proxy Trap on Class
I have an abstract class:
abstract class Foo {
abstract bar(): string;
}
I have some classes that extend Foo:
class Foo1 extends Foo {
bar(): string { return 'foo1'; }
}
class Foo2 extends ...
2
votes
0
answers
184
views
ES6 Proxies in Angular Template
I am using RxDB (essentially a wrapper for pouchdb using rxjs), in my Angular application. Each document in the database (called an RxDocument) is a ES6 Proxy. For instance, I could have and ...