<commit_before>// Copyright 2019-2022, University of Colorado Boulder

/**
 * Property whose value must be a Vector2.
 *
 * @author <NAME> (PhET Interactive Simulations)
 */

import Property, { PropertyOptions } from '../../axon/js/Property.js';
import Bounds2 from './Bounds2.js';
import Vector2 from './Vector2.js';
import dot from './dot.js';
import optionize from '../../phet-core/js/optionize.js';

type SelfOptions = {
  validBounds?: Bounds2 | null;
};

type Vector2PropertyOptions = SelfOptions & Omit<PropertyOptions<Vector2>, 'phetioType' | 'valueType'>;

class Vector2Property extends Property<Vector2> {
  readonly validBounds: Bounds2 | null;

  constructor( initialValue: Vector2, providedOptions?: Vector2PropertyOptions ) {
<commit_msg>convert Omit -> OmitStrict, https://github.com/phetsims/phet-core/issues/119<commit_after>// Copyright 2019-2022, University of Colorado Boulder

/**
 * Property whose value must be a Vector2.
 *
 * @author <NAME> (PhET Interactive Simulations)
 */

import Property, { PropertyOptions } from '../../axon/js/Property.js';
import OmitStrict from '../../phet-core/js/types/OmitStrict.js';
import Bounds2 from './Bounds2.js';
import Vector2 from './Vector2.js';
import dot from './dot.js';
import optionize from '../../phet-core/js/optionize.js';

type SelfOptions = {
  validBounds?: Bounds2 | null;
};

type Vector2PropertyOptions = SelfOptions & OmitStrict<PropertyOptions<Vector2>, 'phetioType' | 'valueType'>;

class Vector2Property extends Property<Vector2> {
  readonly validBounds: Bounds2 | null;

  constructor( initialValue: Vector2, providedOptions?: Vector2PropertyOptions ) {

{'fraction_non_alphanumeric': 0.1391941391941392, 'fraction_numerical': 0.027472527472527472, 'mean_word_length': 4.593856655290103, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4972076', 'n_tokens_mistral': 512, 'n_tokens_neox': 493, 'n_words': 135}