Commit Graph

55 Commits

Author SHA1 Message Date
Albert
69f7f5d856
[typescript/en] multiple types (#4803) 2024-05-14 20:34:54 -06:00
Boris Verkhovskiy
baf63b1f08 [typescript/*] remove dead links and format 2024-04-18 22:24:06 -07:00
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
Kiwimoe
d0c51cbdeb
Update TypeScript "Further Reading" links 2022-08-08 09:32:53 +05:30
Valentin Baca
0e3cf290b2
Update typescript "Further Reading" links
Updated the link to the typescript spec.

Removed dead link to "Anders Hejlsberg - Introducing TypeScript on Channel 9" (I couldn't find a replacement. If there is one, please let me know!)

Finally, "Definitely Typed - repository for type definitions" just points to a dead page.
2022-07-16 20:05:01 -07:00
Edaz
ab710a881e
[typescript/en] Add template literal types (#4265)
* Add template literal types

* Update typescript.html.markdown

Co-authored-by: Andre Polykanine <ap@oire.me>

Co-authored-by: Andre Polykanine <ap@oire.me>
2021-11-10 00:08:47 +01:00
Shafkathullah Ihsan
0320846c0c
Updates enum docs (#4266) 2021-11-08 23:36:40 +01:00
Rett Berg
d0e82c10cd add type to Point.dist and fix error 2020-03-21 11:20:23 -06:00
Divay Prakash
def2eed165
Merge pull request #3796 from lemusthelroy/patch-1
Typsecript/ts - Update typescript.html.markdown
2020-01-31 01:50:36 +05:30
Divay Prakash
a6c71dae3d
Merge pull request #3694 from davidgtu/ts/type-assertion
[en/typescript] add type assertion section
2020-01-11 14:23:22 +05:30
lemusthelroy
5a57d01d05
Update typescript.html.markdown
This will overcome TSError:2362 : "The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type"
2019-12-13 07:43:47 +00:00
Kyle Mendes
d430cd82b6
Updating the TS playground link 2019-11-04 14:11:16 -06:00
Kyle Mendes
5a7d3e898b
Fix playground link 2019-10-31 18:42:00 -05:00
Ross Mackay
fb48be47d6 Fix outdated comment in en/th-th typescript docs 2019-10-22 13:16:52 +01:00
davidgtu
0e437a75db add type assertion 2019-10-11 15:53:07 -04:00
Adam Bard
a8448c0630
Merge pull request #3585 from monis0395/patch-2
[typescript/en] Fixed int array output which was shown as string
2019-08-03 10:19:24 -07:00
Monis Qadri
7fa8cc63c8
Update typescript.html.markdown
The input list is of int[] [@line236](https://github.com/adambard/learnxinyminutes-docs/blame/master/typescript.html.markdown#L236]) but the output of its shown is in string [@line238](https://github.com/adambard/learnxinyminutes-docs/blame/master/typescript.html.markdown#L238]). same thing happens at [@line244](https://github.com/adambard/learnxinyminutes-docs/blame/master/typescript.html.markdown#L244])
2019-07-31 13:06:54 +05:30
Piotr Monwid-Olechnowicz
96b65fb40d
[typescript/en] Add tagged union types
They're super useful.

https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions
https://mariusschulz.com/blog/typescript-2-0-tagged-union-types
2019-07-03 23:15:10 +02:00
ashraf-patel
ff3dd72359 PR changes: use const instead of let 2019-06-18 12:21:00 +05:30
ashraf-patel
1b67ecb30c Add one more example 2019-06-17 14:56:28 +05:30
ashraf-patel
145e76d3b3 Iterators and Generators 2019-06-17 14:52:58 +05:30
Elton Maiyo
217e32442c
Fixes typo 2019-01-27 18:06:34 +03:00
Kyle Mendes
a41c5d77c2 Updating the line length to 80 2018-10-30 12:40:01 -05:00
Bradley Kemp
67730b4e0b
Add example of "implements" keyword 2018-10-19 13:55:51 +01:00
Wayne Boka
f8ff01a17e Add Readonly Examples
In references to #2702. Making another commit due to several extra files getting committed.
2018-10-03 16:23:54 -04:00
Simon Siegert
0d0b536b28
Fix naming of constant 2018-01-25 20:56:33 +01:00
Allwin Baby Panikulam
838efd3653 Fix link to javascript docs 2017-10-26 01:12:10 +08:00
HairyFotr
985d23a52b
Fix a bunch of typos 2017-08-23 10:14:39 +02:00
bezigon
1ac2f69479 Update typescript.html.markdown (#2738)
https://github.com/adambard/learnxinyminutes-docs/issues/2737
2017-05-25 15:35:08 +00:00
Adam Bard
0809ee0864 Merge pull request #2576 from dvkndn/patch-2
[typescript/en-us] Use ```ts for typescript syntax highlight
2017-02-01 13:55:25 -08:00
Thien Do
ac99d3f1cb [typescript/en-us] Clarify function section in typescript (#2575)
* Clarify function section in typescript

* one-liner to braceless
2016-11-20 21:41:16 +01:00
Thien Do
03bab0e47b Use ts for typescript syntax 2016-11-21 02:31:22 +07:00
Gabriel Gomes
d9caa2436e Added typescript-pt.html.markdown (#1699)
* link for learning of javascript adjusted

* Added typescript-pt.html.markdown
2016-06-26 15:03:09 +02:00
Sergey Isaev
343b7e20ca Update typescript.html.markdown 2016-04-26 03:59:06 +04:00
Sergey Isaev
6136efa772 Fix url for language specifications 2016-04-26 03:58:30 +04:00
Geoff Liu
96bf580579 Merge pull request #1640 from adback03/master
[typescript/en] Template Strings
2015-12-18 17:17:46 -05:00
Daniel Imms
3c048d79ad Make typescript indentation consistently 2 spaces 2015-11-27 15:30:23 -08:00
Andrew Backes
5ca38bf934 [typescript/en] Fixing typo in 'Interpolation' 2015-10-19 10:40:57 -05:00
Andrew Backes
998e76c310 [typescript/en] Typo fixed in 'backticks' 2015-10-19 08:09:58 -05:00
Andrew Backes
525b6106a5 [typescript/en] Multiline Strings
Multiline Strings via Template Strings
2015-10-18 22:38:56 -05:00
Andrew Backes
c3387b8a61 [typescript/en] Template Strings 2015-10-18 22:32:14 -05:00
Eugene Sharygin
107861875f [typescript/en] Fix typo 2015-04-21 23:01:08 +03:00
Nolan Prescott
69480d51b8 fix spacing issue 2015-03-10 16:58:18 -05:00
Nolan Prescott
394e7ecb84 whitespace typo, fix #989 2015-03-10 15:35:00 -05:00
Nolan Prescott
2ae3d41c27 Fix formatting, close #990
Cleaned up mixed tabs/spaces
Wrapped lines at 80 characters
Fixed incorrect comment regarding property name
2015-03-10 15:09:35 -05:00
Adam
eab554a7a7 Review docs for added rouge lexers and update those with new highlighters 2014-09-08 13:08:28 +02:00
Philippe
ef37db634a Fixed errors and typos
After review from from Nami-Doc
2014-09-01 10:51:43 +02:00
Philippe
2c56f7bed4 Generics added
And a few typos corrected, ready for pull request
2014-08-31 17:57:44 +02:00
Philippe
bfa04112e8 Added filename in header 2014-08-27 16:14:57 +02:00
Philippe
0d022b14c0 Added section on Modules
Indented comments and edited the Interfaces part. Still missing indexers and Generics.
2014-08-27 15:41:12 +02:00