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
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
janith
c79bffaacb
docs: remove gender prefixes from examples ( #29972 )
...
PR Close #29972
2019-05-20 16:42:59 -07:00
Brandon Roberts
2278fe8f0e
docs(aio): Upgrade examples to Angular 6 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00