mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Returning [the polymorphic `this` type](https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types) ensures calling `.clone()` or `.cloneMessage()` on a subclass instance doesn't require a redundant cast. |
||
|---|---|---|
| .. | ||
| google/protobuf | ||
| google-protobuf-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||