TypeScript

TypeScript is an open source programming language developed by Microsoft and first released in 2012. It is designed to add type safety to JavaScript while conforming as closely as possible to the syntax and semantics of the ECMAScript standard.
It is a syntactical superset of the JavaScript programming language; all valid JavaScript source code is also valid TypeScript source code, but not vice-versa. TypeScript compiles (or transpiles) to JavaScript, meaning that it can be utilized to target any JavaScript environment. It can be used to develop JavaScript for both client-side and server-side applications.
Here are 80,835 public repositories matching this topic...
Currently the error message of the exception, thrown from the Deno.stat/statSync
, when the file is missing, does not include the file name:
nickolay@frontier:~/workspace/Bryntum/siesta-monorepo/siesta$ deno
Deno 1.9.2
exit using ctrl+d or close()
> Deno.statSync('/home/nickolay/not_existing_file')
Uncaught NotFound: No such file or directory (os error 2)
at unwrapOpResult (deno:co
Description
The link in the section Configuring Builder targets of the Angular workspace configuration page
redirects to :
https://github.com/angular/angular-cli/blob/master/packages/angular/cli/lib/config/schema.json
which results in a 404 github page
I think (not 100% sure) that the url should be:
h
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
- Open demo at https://ant.desig
Today we ship a one-type-fits-all style for printing type is not assignable to type messages. We'd like to improve this in a pretty simple manner: by occasionally adding newlines. For example with this arbitrary comparison:
let a = { b: { c: { e: { f: 123 } } } };
let b = { b: { c: { e: { f: "123" } } } };
a = b;
Looks like this today:
src/vendor/ata/index.ts(12,1):
MuiSwitch doesn't look right if checkbox has position relative. In v4 was possible to resolve using an override:
overrides: { MuiSwitch: { input: { position: 'absolute !important' }, } }
Following documentation to do the same in v5 the code required should be the following:
`components:{
MuiSwitch: {
styleOverrides: {
input: {
po
-
Updated
Sep 24, 2021 - TypeScript
-
Updated
Sep 27, 2021 - TypeScript
-
Updated
Sep 27, 2021 - TypeScript
Problem to solve
I have a stepped process where the user enters a name for a new object. The validation state of this step relies on name existing. My goal is for the step to be in error when there is no error and not in error when the user has entered an error.
The problem is that when the stepper screen comes up, this step is in error immediately. Good UI design dictates that the step s
相关平台
微信小程序
复现仓库
https://github.com/yangxudong-functorz/taro_issues/blob/main/issue1.ts
小程序基础库: 2.17.3
使用框架: React
复现步骤
直接只用 npm run build:weapp, 报错: Module not found: Can't resolve '"},"path":"....../xxx.config.ts"
期望结果
编译成功
(If applicable) Reproduction of issue in TypeScript Playground
-
Updated
Sep 23, 2021 - Go
I'm making a client-side code editor with rudimentary Git support, and syntax highlighting for diff/patch files would be really nice - a way to view the whole diff in a single window (alternative to existing diffeditor - with similar colors to git diff
console coloring), maybe would be useful for others too.
https://github.com/microsoft/monaco-languages/ asks to create issues in this repo...
-
Updated
Sep 23, 2021 - TypeScript
Cannot read property 'properties' of undefined when adding a lazy loaded module with ng generate
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Description
While attempting to find the
-
Updated
Sep 21, 2021 - TypeScript
-
Updated
Sep 27, 2021 - TypeScript
-
Updated
Sep 25, 2021 - TypeScript
-
Updated
Aug 3, 2021 - TypeScript
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.0.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): unrelated
Describe the bug
openFile method of utils module does not preview the
-
Updated
May 20, 2019 - TypeScript
-
Updated
Sep 27, 2021 - TypeScript
Currently use scripts to install node_modules and next inside examples, and run them with require hooks to debug with local swr assets. It's not deal since it's too complicated and not scalable.
Goal
- Find a better way to debug with example / test case with local swr
- Less dependencies and easy setup
Environment
- Package version(s): @blueprintjs/core@3.17.2 @blueprintjs/select@3.11.2
- Browser and OS versions: MacOS Catalina (10.15.1) / Chrome 78.0.3904.108
Question
Is there any solid documentation for the renderFilteredItems()
utility function exported from the select
package? It is briefly mentioned under the itemListRenderer
props section of the select
c
-
Updated
Sep 26, 2021 - TypeScript
-
Updated
Sep 26, 2021 - C++
Created by Microsoft
Released October 1, 2012
Latest release 16 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
I use the test explorer now more than the CLI when running tests in the VS Code repo. Test that use non standard functions as the callback aren't picked up in the explorer which caused me to miss them. Here's an example with a custom sinonTest function
Example
https://github.com/microsoft/vscode/blob/a01c72ed3b8c78e499d3cf7099f4dde046826f81/src/vs/platform/telemetry/test/browser/telemetryServ