George Kalpakas
97ae2d3b9b
refactor(docs-infra): fix docs examples for tslint rule prefer-const
( #38143 )
...
This commit updates the docs examples to be compatible with the
`prefer-const` 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-08-07 22:10:55 -04:00
George Kalpakas
b88abd81c8
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-08-07 22:10:55 -04: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
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00