Searched refs:Point2D (Results 1 - 3 of 3) sorted by relevance
/third_party/typescript/tests/baselines/reference/ |
H A D | jsDeclarationsFunctionLikeClasses2.js | 41 export function Point2D(x, y) { 42 if (!(this instanceof Point2D)) { 43 return new Point2D(x, y); 50 Point2D.prototype = { 73 import {Point2D} from "./source"; 75 export const origin = new Point2D(0, 0); 76 // export const res = Point2D(2, 3).dot(origin); // TODO: when __proto__ works, validate this 82 exports.Point2D = exports.Vec = void 0;
119 function Point2D(x, y) {
120 if (!(this instanceof Point2D)) {
48 Point2D.prototype = { global() class [all...] |
/third_party/python/Lib/test/ |
H A D | test_types.py | 908 class Point2D(typing.TypedDict): class 912 assert Point2D | str == typing.Union[Point2D, str]
|
H A D | test_typing.py | 5142 class Point2D(TypedDict): class 5156 class LabelPoint2D(Point2D, Label): ... 6550 not_origin = Point2D(x=0, y=1) 6603 class Point2Dor3D(Point2D, total=False): 6767 self.assertIs(is_typeddict(Point2D), True) 6770 self.assertIs(is_typeddict(Point2D()), False)
|
Completed in 16 milliseconds