George Kalpakas
fc709423f2
refactor(docs-infra): fix docs examples for tslint rule only-arrow-functions
( #38143 )
...
This commit updates the docs examples to be compatible with the
`only-arrow-functions` tslint rule.
This is in preparation of updating the docs examples `tslint.json` to
match the one generated for new Angular CLI apps in a future commit.
PR Close #38143
2020-07-31 11:00:06 -07:00
George Kalpakas
0a791e4a50
style(docs-infra): fix docs examples for tslint rule import-spacing
( #38143 )
...
This commit updates the docs examples to be compatible with the
`import-spacing` tslint rule.
This is in preparation of updating the docs examples `tslint.json` to
match the one generated for new Angular CLI apps in a future commit.
PR Close #38143
2020-07-31 11:00:05 -07:00
George Kalpakas
d89200ad24
refactor(docs-infra): remove unnecessary use strict
from docs examples TS files ( #38143 )
...
By default, TypeScript will emit `"use strict"` directives, so it is not
necessary to include `'use strict'` in `.ts` files:
https://www.typescriptlang.org/docs/handbook/compiler-options.html#:~:text=--noImplicitUseStrict
PR Close #38143
2020-07-31 11:00:05 -07:00
Kai Röder
3de59d48b5
docs(docs-infra): use recommended type assertion ( #31042 )
...
Angular uses tslint:recommended by default. The default for no-angle-bracket-type-assertion is true
See https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts#L69
PR Close #31042
2019-10-02 13:25:39 -07:00
Brandon Roberts
2278fe8f0e
docs(aio): Upgrade examples to Angular 6 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Jesus Rodriguez
1a75934cc0
build(aio): migrate plunker to stackblitz ( #20165 )
...
PR Close #20165
2018-01-23 21:30:27 -08:00
Jesus Rodriguez
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00
Jesus Rodriguez
061475402c
docs(aio): final migration from old site
2017-04-12 21:01:55 +01:00
Peter Bacon Darwin
fd72fad8fd
docs(aio): update migrated content from anguar.io
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
1f3198cb50
feat(aio): copy example code from angular.io
2017-02-23 23:23:58 -08:00