File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ import range from 'lodash/range';
2828import { isScoped , Scopable } from '../models' ;
2929
3030/**
31- * Composes two JSON pointer. Pointer1 is appended to pointer2 .
32- * JSON pointer is seperated and start with '/' e.g: /foo/0
31+ * Composes two JSON pointer. Pointer2 is appended to pointer1 .
32+ * Example: pointer1 `'/foo/0'` and pointer2 `'/bar'` results in `' /foo/0/bar'`.
3333 *
34- * @param {string } pointer1 JSON pointer
35- * @param {string } pointer2 JSON pointer
34+ * @param {string } pointer1 Initial JSON pointer
35+ * @param {string } pointer2 JSON pointer to append to `pointer1`
3636 * @returns {string } resulting JSON pointer
3737 */
3838export const compose = ( pointer1 : string , pointer2 : string ) => {
You can’t perform that action at this time.
0 commit comments