angular / in-memory-web-api

The code for this project has moved to the angular/angular repo. This repo is now archived.
MIT License
1.18k stars 231 forks source link

mixing up in the comment of the 'passThruUnknownUrl' property #191

Open gregorydony opened 6 years ago

gregorydony commented 6 years ago

Wrong comment in InMemoryBackendConfigArgs

/**
     * false (default) should pass unrecognized request URL through to original backend; true: 404
     */
    passThruUnknownUrl?: boolean;

should be

/**
     * false (default) : 404; true: should pass unrecognized request URL through to original backend
     */
    passThruUnknownUrl?: boolean;

Or maybe 'true' should be the default ?