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 90,839 public repositories matching this topic...
error: Uncaught (in worker "WebSocket Server") (in promise) TypeError: Deno.memoryUsage is not a function
It seems like workers don't have this api.
Other api's and the deno namespace are available though
I'm not sure if this is intentional or not but I would really like to have this function exposed to workers aswell.
Description
The issue is described here
You cannot possibly be held responsible for all contingencies for every system, that would be unreasonable. However, it would benefit the community, especially those of newcomers, were this issue at least mentioned as known in your docs. A timestamped solution would be
Grammar issues
ES imports and exports can only be used at the top level of a module. This is illegal:
function container() {
import 'fs'
export { container }
namespace N { }
}The current error for these three statements are vague and, for JS, contain irrelevant terms:
Actual:
(1) "An import declaration can only be used in a namespace or module."
(2) "An export declaration can
- 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
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
The text inside of a button with size="small" is not centered vertically. This is especially obvious when used with an icon or a contained/outlined button.
Expected behavior 🤔
The text inside of a button with size="small" is centered vertically.
Describe the bug
In Firefox, the zoom feature uses transform styles (see storybookjs/storybook#12845) - unfortunately this breaks positioning on elements that require position: fixed when in the "Docs" view.
Normally a position: fixed element's position would correspond to the viewport but in Firefox it corresponds to the element with the transform style.
-
Updated
Jan 4, 2022 - TypeScript
-
Updated
Jan 4, 2022 - TypeScript
-
Updated
Jan 4, 2022 - TypeScript
(If applicable) Reproduction of issue in TypeScript Playground
相关平台
微信小程序
复现仓库
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"
期望结果
编译成功
-
Updated
Jan 1, 2022 - 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
Jan 4, 2022 - 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
Jan 4, 2022 - TypeScript
-
Updated
Jan 4, 2022 - TypeScript
-
Updated
Dec 3, 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
Jan 4, 2022 - TypeScript
-
Updated
Jan 4, 2022 - JavaScript
-
Updated
Jan 4, 2022 - TypeScript
-
Updated
May 20, 2019 - TypeScript
Bug description
On windows, I run prisma format and note the unusual file ending. The lines are all LF, but the very last line is CRLF.
This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.
How to reproduce
- On windows do prisma format
- Open in HxD or similar
- See attached:
![image](https://user-images.g
-
Updated
Jan 4, 2022 - Rust
-
Updated
Jan 4, 2022 - TypeScript
Created by Microsoft
Released October 1, 2012
Latest release 25 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
As of VSC 1.61, the default setting file is opened in group if
"workbench.settings.editor"is set to be"json"and `"wor