function decodedQuery(query = {}) {
    const decodedQuery = {};
    Object.keys(query).forEach((name) => {
        try {
            decodedQuery[name] = decode(query[name]);
        }
        catch (e) {
            decodedQuery[name] = query[name];
        }
    });
    return decodedQuery;
}
https://github.com/vuejs/vue-router-next/blob/master/src/query.ts
@internal

@param search - search string to parse
@returns a query object