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 114,354 public repositories matching this topic...
For me it would make a lot of sense to run check
in watch mode.
I think that adding check subcommand was a great idea, and running it in watch mode would provide the best development experience (at least for me). Also if I'm not mistaken it would check further edits faster, as typescript compiler is already warmed up after the first check.
deno check --watch
Which @angular/* package(s) are the source of the bug?
forms
Is this a regression?
No
Description
Expose ControlConfig
type in public API
export type ControlConfig<T> = [T|FormControlState<T>, (ValidatorFn|(ValidatorFn[]))?, (AsyncValidatorFn|AsyncValidatorFn[])?];
https://github.com/angular/angular/blob/main/packages/forms/src/form_builder.ts#L
As explained in microsoft/TypeScript#2548, the following code is not correct when useDefineForClassFields: false
, which is the default for targets before ES2021.
const x = 1
class C {
p = x
constructor(x: string) { }
}
However, when useDefineForClassFields: true
, there shouldn't be an error here.
Expected: No error 2301 on `private p =
What problem does this feature solve?
I want to provide additional properties to a menu for example to make it better testable. This works but TS is reporting an error as the attribute 'data-test' does not exit in type ItemType.
const items: Array<ItemType> = [
{
key: 'exercises',
// @ts-ignore
'data-test': 'exercises',
icon: <Fa icon={faTasks} fixed
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
CSS classes .Mui-active
and .Mui-completed
are not applied to MuiStepLabel
iconContainer element. As a result, it's not possible to change the iconContainer style using custom theme
Expected behavior 🤔
I would expect the `.Mui-acti
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
Jul 8, 2022 - TypeScript
-
Updated
Jul 8, 2022 - TypeScript
-
Updated
Jul 8, 2022 - TypeScript
(If applicable) Reproduction of issue in TypeScript Playground
Environment
Vuetify Version: 2.6.4
Vue Version: 2.6.13
Browsers: Chrome 98.0.4758.102
OS: Linux x86_64
Steps to reproduce
- Click on "Dropdown" button, the menu is shown under the button;
- Click on "Toggle Menu" twice;
- Click on "Dropdown" button, the menu is shown somewhere at the left;
Expected Behavior
It should work in a stable way. Menu should be
-
Updated
Jul 7, 2022 - Go
钉钉小程序升级3.5问题
相关平台
钉钉小程序
使用框架: React
复现步骤
3.4版本升级至3.5
期望结果
升级成功
实际结果
升级失败
环境信息
👽 Taro v3.5.0-beta.0
Taro CLI 3.5.0-beta.0 environment info:
System:
OS: Windows 10
Binaries:
Node: 16.14.0 - D:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - C:\Users\caiju\AppData\Roamin
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
Jul 7, 2022 - TypeScript
-
Updated
Jul 8, 2022 - TypeScript
The Schematics Glossary doesn't introduce what a Task
is, making it difficult for new schematic developers to know what Task
s should be used for and how they work.
The Schematics for libraries page on angular.io [demonstrates an example for adding a task](https://angular.io/guide/schematics-f
-
Updated
Jul 7, 2022 - 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
Jul 7, 2022 - TypeScript
-
Updated
Jul 8, 2022 - TypeScript
Describe the feature
Related with swc-project/swc#3859.
We want to establish initial feature parity to existing @swc/cli to plan out migration with possible breaking changes.
These are initial flags we'd like to have.
-
config
-
config_file
-
filename
(swc-project/swc#4016) -
env_name
-
ignore
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
Jun 29, 2022 - TypeScript
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Jul 8, 2022 - TypeScript
-
Updated
Jul 6, 2022 - TypeScript
Created by Microsoft
Released October 1, 2012
Latest release 22 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
This action doesn't require debug mode. A user can optionally add it as a precondition to a keyboard shortcut if they so choose.