mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 04:44:04 +08:00
Bug: 1253323 Change-Id: Ia3e805e2df1b4e6e46627009fc1d290bbd786557 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3205170 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org>
35 lines
904 B
TypeScript
35 lines
904 B
TypeScript
// Copyright 2021 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
class UrlStringTag {
|
|
private urlTag: (string|undefined);
|
|
}
|
|
/**
|
|
* File paths in DevTools that are represented as URLs
|
|
* @example
|
|
* “file:///Hello%20World/file/js”
|
|
*/
|
|
export type UrlString = string&UrlStringTag;
|
|
|
|
class RawPathStringTag {
|
|
private rawPathTag: (string|undefined);
|
|
}
|
|
/**
|
|
* File paths in DevTools that are represented as unencoded absolute
|
|
* or relative paths
|
|
* @example
|
|
* “/Hello World/file.js”
|
|
*/
|
|
export type RawPathString = string&RawPathStringTag;
|
|
|
|
class EncodedPathStringTag {
|
|
private encodedPathTag: (string|undefined);
|
|
}
|
|
/**
|
|
* File paths in DevTools that are represented as encoded paths
|
|
* @example
|
|
* “/Hello%20World/file.js”
|
|
*/
|
|
export type EncodedPathString = string&EncodedPathStringTag;
|