README.md in ts_routes-0.4.0 vs README.md in ts_routes-0.5.0

- old
+ new

@@ -8,11 +8,11 @@ In your `lib/tasks/ts_routes.rake`: ```ruby:ts_routes.rake namespace :ts do - TS_ROUTES_FILENAME = "javascripts/generated/RailsRoutes.ts" + TS_ROUTES_FILENAME = "javascripts/generated/routes.ts" desc "Generate #{TS_ROUTES_FILENAME}" task routes: :environment do Rails.logger.info("Generating #{TS_ROUTES_FILENAME}") source = TsRoutes.generate( @@ -21,10 +21,10 @@ File.write(TS_ROUTES_FILENAME, source) end end ``` -Then, execute `rake ts:routes` to generate `RailsRoutes.ts` in your favorite path. +Then, execute `rake ts:routes` to generate `routes.ts` in your favorite path. And you can import it in TypeScript code: ```foo.ts