ts
Here are 668 public repositories matching this topic...
Whenever you create a variable named document, you can't use the class Document anymore.
As work-around you can rename the variable (to e.g. doc).
Steps To Reproduce
https://deck.net/3707a48b6ab5672937f9c3b1a8207979
public class Program
{
public static void Main()
{
var document = new HTMLDivElement {
TextContent = "Hello world!"
-
Updated
Apr 30, 2020 - TypeScript
This seems like a great alternative to Vue.
As a suggestion, it would be great if the documentation would be available in English.
Typescript warns Expected 0 arguments, but got 1. when I pass arguments for a protobuf message constructor. google-protobuf implementation of protobuf Message accept arguments.
// input.proto
message InputType {
string name = 1;
string email = 2;
}
// errors in typescript
new InputType(['my name', 'my email'])
Consider adding a constructor method to the ty
Discriminators
Discriminators need:
- better tests (because tests are examples of how to use it too)
- better / actual documentation (#16)
- rework the already existing test(s) to be better understandable
specific question for @B-Stefan:
(i already asked on discord, but remade it to here)
why does the (base) model of inheritanceClass(tests/models) have an discriminatorKey which is type of `n
-
Updated
May 25, 2018 - C#
-
Updated
Jun 15, 2020 - JavaScript
-
Updated
May 5, 2020 - JavaScript
https://github.com/VerbalExpressions/JSVerbalExpressions
Perhaps add a section to your readme clarifying how your lib is better than similar existing projects.
-
Updated
Jun 14, 2020 - Rust
FabricJs
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fabric
| Resource | Location |
|---|---|
| Website | http://fabricjs.com/ |
| GitHub | https://github.com/fabricjs/fabric.js |
| NPM | https://www.npmjs.com/package/fabric |
| Types | https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/fabric/index.d.t |
-
Updated
Mar 25, 2019 - TypeScript
I'm getting Property '_id' does not exist on type (or Property 'id' does not exist on type) on an array
blah: Type.array().of({
etc: Type.string()
})
blah._id => no property.
All arrays in mongoose by default have _id. Am I doing something wrong?
-
Updated
Aug 25, 2019 - JavaScript
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
Oct 11, 2019 - PHP
-
Updated
Mar 13, 2020 - TypeScript
-
Updated
Jun 13, 2020 - TypeScript
-
Updated
Jan 21, 2020 - TypeScript
-
Updated
Oct 23, 2018
Feature request
Description
As a developer, I want to know how each cc.json version differs from another so that I can work on feature related to that.
1.1 introduced edges
1.2 changed the attributeTypes
Open questions
Are there any more changes?
Describe the bug
In the provided example, I am expecting the tool to fail since the expected actual coverage is 92%, and my provided minimum is 99%. This works when using the CLI option, but not when using the typeCoverage property in package.json.
Provided config:
"typeCoverage": {
"atLeast": 99
},CLI output when using typeCoverage (wrong behavior)
Improve this page
Add a description, image, and links to the ts topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ts topic, visit your repo's landing page and select "manage topics."
Desired Behavior
ts-node has a flag that enables diagnostic logging from ts-node (not TypeScript) to either a file on disk or to stdout. ts-node's API allows passing a
reportDiagnosticfunction that is called for all ts-node diagnostics, allowing even more customizable reporting. This should match the UX of TypeScript's ownDiagnosticReporterhooks.This will enable end-users to se