Peter Kellner
3a3347dc5f
The current TypeScript "with-typescript" looks like it was put there as a place holder. I'm fairly new to TypeScript but I'm sure the changes I've made here will be a huge improvement. Open to suggestions and to update as appropriate. Also, Tried to run yarn lint --fix to no avail. I can't figure out how to get it to find lint whether I'm running on my mac or PC. I tried lots of variations around npm i lint -g but had no success. ( #6011 )
2019-01-08 22:29:58 +01:00
Anton Moiseev
58583a2b81
Examples: fix <title> warning in the TypeScript example ( #5549 )
...
* Replace _document.tsx example with _app.tsx
* Fix title
* Remove _app.tsx
2018-10-29 19:32:01 +01:00
Resi Respati
397daece42
with-typescript example updates ( #5267 )
...
* [with-typescript] Updated `@zeit/next-typescript` and typescript typings
* [with-typescript] Updated tsconfig to match new recommended config
* [with-typescript] upgraded dependencies, implement type-checking
* [with-typescript] add _document example, fixed tsconfig
* [with-typescript] updated README
* [with-typescript] updated example contents
* [with-typescript] adopt the Layout component from Flow example
2018-09-26 09:58:36 +02:00
Brice BERNARD
45e26f22b3
Fix tsx workaround, bootstrap next.d.ts, add tslint deps ( #2885 )
2017-11-13 13:59:00 +01:00
Giacomo Rebonato
b00f0c2044
TypeScript example proposal ( #845 )
...
* TypeScript example proposal
* removed unused loader
Removed typings
Moved TypeScript to dev dependencies
removed unused typings
changed react typings version
removed react dependency
set next dependency version to latest
removed not needed babel preset
enabled sourcemaps
simplified tsconfig
modified component to be a functional one
* Ignore build
* Making npm script Windows-friendly
* Clean up
* Added readme
* fixed typo
2017-02-09 12:36:58 +01:00